bugGNU Gengetopt - Bugs: bug #60203, Warning in generated code to set...


bug #60203: Warning in generated code to set inputs_num

Submitter:  Reuben Thomas <rrt>
Submitted:  Wed 10 Mar 2021 09:21:51 AM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Wed 10 Mar 2021 09:21:51 AM UTC, original submission:  

cmdline.c:898:31: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
  898 |       args_info->inputs_num = argc - optind - found_prog_name;
      |                               ^~~~

Reuben Thomas <rrt>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rrt (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-ee12.
    Corresponding source code