GCC-4.0 warnings for PRE

Leonard den Ottolander leonard at den.ottolander.nl
Wed May 18 19:07:18 UTC 2005


Hi,

There are even more GCC-4.0 warnings for the PRE branch as of
2005-05-11. See attached list.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research

-------------- next part --------------
fish.c:133: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
fish.c:188: warning: ignoring return value of 'dup', declared with attribute warn_unused_result
fish.c:191: warning: ignoring return value of 'dup', declared with attribute warn_unused_result
fish.c:258: warning: ignoring return value of 'write', declared with attribute warn_unused_result
fish.c:259: warning: ignoring return value of 'write', declared with attribute warn_unused_result
ftpfs.c:333: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
direntry.c:1165: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
direntry.c:1178: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
utilvfs.c:211: warning: pointer targets in assignment differ in signedness
utilvfs.c:213: warning: pointer targets in assignment differ in signedness
utilvfs.c:218: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
utilvfs.c:632: warning: pointer targets in passing argument 1 of 'is_localized_month' differ in signedness
utilvfs.c:734: warning: pointer targets in passing argument 1 of 'is_localized_month' differ in signedness
editcmd.c:648: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
editcmd.c:742: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
editcmd.c:1586: warning: pointer targets in passing argument 1 of 'strcasechr' differ in signedness
editcmd.c:1587: warning: pointer targets in passing argument 1 of 'strcasechr' differ in signedness
editcmd.c:2181: warning: pointer targets in passing argument 2 of 'mc_write' differ in signedness
editcmd.c:2501: warning: ignoring return value of 'system', declared with attribute warn_unused_result
editcmd.c:2510: warning: ignoring return value of 'system', declared with attribute warn_unused_result
editcmd.c:2711: warning: pointer targets in assignment differ in signedness
editcmd.c:2714: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
editcmd.c:2714: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
editcmd.c:2714: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
editcmd.c:2714: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
editcmd.c:2714: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
editcmd.c:2714: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
editcmd.c:2714: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
editcmd.c:2714: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
editcmd.c:2786: warning: pointer targets in passing argument 4 of 'listbox_add_item' differ in signedness
editcmd.c:2830: warning: pointer targets in assignment differ in signedness
syntax.c:482: warning: ignoring return value of 'ungetc', declared with attribute warn_unused_result
background.c:229: warning: ignoring return value of 'read', declared with attribute warn_unused_result
background.c:235: warning: ignoring return value of 'read', declared with attribute warn_unused_result
background.c:236: warning: ignoring return value of 'read', declared with attribute warn_unused_result
background.c:238: warning: ignoring return value of 'read', declared with attribute warn_unused_result
background.c:243: warning: ignoring return value of 'read', declared with attribute warn_unused_result
background.c:245: warning: ignoring return value of 'read', declared with attribute warn_unused_result
background.c:291: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:293: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:321: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:323: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:328: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:356: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:357: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:358: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:359: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:362: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:379: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:380: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:382: warning: ignoring return value of 'read', declared with attribute warn_unused_result
background.c:384: warning: ignoring return value of 'read', declared with attribute warn_unused_result
background.c:404: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:405: warning: ignoring return value of 'write', declared with attribute warn_unused_result
background.c:407: warning: ignoring return value of 'read', declared with attribute warn_unused_result
background.c:411: warning: ignoring return value of 'read', declared with attribute warn_unused_result
boxes.c:256: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness
boxes.c:257: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness
cmd.c:851: warning: pointer targets in passing argument 2 of 'push_history' differ in signedness
command.c:194: warning: pointer targets in initialization differ in signedness
complete.c:780: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
complete.c:784: warning: pointer targets in assignment differ in signedness
complete.c:788: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
complete.c:790: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
complete.c:794: warning: pointer targets in initialization differ in signedness
complete.c:794: warning: pointer targets in initialization differ in signedness
complete.c:829: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
complete.c:829: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
complete.c:829: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
complete.c:829: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
complete.c:829: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
complete.c:829: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
complete.c:829: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
complete.c:829: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
complete.c:863: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
complete.c:863: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
complete.c:863: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
complete.c:863: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
complete.c:863: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
complete.c:863: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
complete.c:863: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
complete.c:863: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
complete.c:921: warning: pointer targets in passing argument 1 of 'try_complete' differ in signedness
cons.handler.c:67: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.handler.c:69: warning: ignoring return value of 'read', declared with attribute warn_unused_result
cons.handler.c:74: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.handler.c:75: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.handler.c:77: warning: ignoring return value of 'read', declared with attribute warn_unused_result
cons.handler.c:83: warning: ignoring return value of 'read', declared with attribute warn_unused_result
cons.handler.c:88: warning: ignoring return value of 'read', declared with attribute warn_unused_result
cons.handler.c:104: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result
cons.handler.c:105: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result
cons.handler.c:122: warning: ignoring return value of 'read', declared with attribute warn_unused_result
cons.handler.c:136: warning: ignoring return value of 'dup', declared with attribute warn_unused_result
cons.handler.c:140: warning: ignoring return value of 'dup', declared with attribute warn_unused_result
cons.handler.c:152: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.handler.c:172: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.handler.c:175: warning: ignoring return value of 'read', declared with attribute warn_unused_result
file.c:168: warning: pointer targets in passing argument 1 of 'x_basename' differ in signedness
file.c:168: warning: pointer targets in initialization differ in signedness
file.c:173: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
file.c:174: warning: pointer targets in passing argument 2 of 're_match' differ in signedness
file.c:240: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness
file.c:240: warning: pointer targets in initialization differ in signedness
file.c:1873: warning: pointer targets in passing argument 2 of 'transform_source' differ in signedness
file.c:1873: warning: pointer targets in assignment differ in signedness
file.c:1968: warning: pointer targets in passing argument 2 of 'transform_source' differ in signedness
file.c:1968: warning: pointer targets in assignment differ in signedness
find.c:158: warning: pointer targets in passing argument 2 of 'regcomp' differ in signedness
find.c:283: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness
find.c:303: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness
find.c:312: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness
find.c:313: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness
find.c:1010: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
hotlist.c:1240: warning: ignoring return value of 'ungetc', declared with attribute warn_unused_result
learn.c:92: warning: pointer targets in assignment differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:100: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:101: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
learn.c:105: warning: pointer targets in assignment differ in signedness
learn.c:106: warning: pointer targets in passing argument 1 of 'convert_controls' differ in signedness
learn.c:106: warning: pointer targets in assignment differ in signedness
learn.c:108: warning: pointer targets in passing argument 2 of 'define_sequence' differ in signedness
main.c:1530: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
main.c:1612: warning: pointer targets in assignment differ in signedness
main.c:2282: warning: ignoring return value of 'write', declared with attribute warn_unused_result
menu.c:112: warning: pointer targets in assignment differ in signedness
panelize.c:236: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness
panelize.c:291: warning: pointer targets in assignment differ in signedness
panelize.c:414: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
poptconfig.c:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
poptconfig.c:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
poptconfig.c:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
poptconfig.c:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
poptconfig.c:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
poptconfig.c:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
poptconfig.c:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
poptconfig.c:28: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
poptconfig.c:32: warning: pointer targets in assignment differ in signedness
poptconfig.c:38: warning: pointer targets in assignment differ in signedness
poptconfig.c:51: warning: pointer targets in passing argument 1 of 'poptParseArgvString' differ in signedness
poptconfig.c:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
poptconfig.c:63: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness
poptconfig.c:106: warning: pointer targets in passing argument 2 of 'configLine' differ in signedness
popthelp.c:68: warning: pointer targets in initialization differ in signedness
popthelp.c:96: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
popthelp.c:107: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
subshell.c:213: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
subshell.c:479: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:536: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:542: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:544: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:545: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:768: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:772: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:777: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:780: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:782: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:953: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:995: warning: ignoring return value of 'write', declared with attribute warn_unused_result
subshell.c:1001: warning: ignoring return value of 'write', declared with attribute warn_unused_result
treestore.c:183: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
utilunix.c:482: warning: ignoring return value of 'dup', declared with attribute warn_unused_result
utilunix.c:737: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result
view.c:230: warning: pointer targets in passing argument 1 of 'mc_munmap' differ in signedness
view.c:519: warning: pointer targets in passing argument 2 of 'close_error_pipe' differ in signedness
view.c:530: warning: pointer targets in passing argument 2 of 'close_error_pipe' differ in signedness
view.c:561: warning: pointer targets in assignment differ in signedness
view.c:563: warning: pointer targets in assignment differ in signedness
view.c:585: warning: pointer targets in passing argument 2 of 'mc_read' differ in signedness
view.c:701: warning: pointer targets in assignment differ in signedness
view.c:703: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
widget.c:323: warning: pointer targets in assignment differ in signedness
widget.c:743: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
widget.c:1103: warning: pointer targets in passing argument 2 of 'push_history' differ in signedness
widget.c:1121: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
widget.c:1125: warning: pointer targets in assignment differ in signedness
widget.c:1129: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
widget.c:1130: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
widget.c:1148: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
widget.c:1246: warning: pointer targets in passing argument 1 of 'g_strndup' differ in signedness
widget.c:1254: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
widget.c:1326: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness
widget.c:1335: warning: pointer targets in assignment differ in signedness
widget.c:1336: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
widget.c:1337: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
widget.c:1349: warning: pointer targets in passing argument 2 of 'push_history' differ in signedness
widget.c:1372: warning: pointer targets in passing argument 2 of 'push_history' differ in signedness
widget.c:1587: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
widget.c:1644: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness
widget.c:1644: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness
widget.c:1645: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
wtools.c:407: warning: pointer targets in passing argument 1 of 'tilde_expand' differ in signedness
wtools.c:409: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness
cons.saver.c:69: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.saver.c:71: warning: ignoring return value of 'read', declared with attribute warn_unused_result
cons.saver.c:72: warning: ignoring return value of 'read', declared with attribute warn_unused_result
cons.saver.c:82: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.saver.c:94: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.saver.c:100: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.saver.c:107: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.saver.c:187: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.saver.c:210: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cons.saver.c:219: warning: ignoring return value of 'write', declared with attribute warn_unused_result


More information about the mc-devel mailing list