Warnings

From vice-emu
Revision as of 14:06, 16 July 2010 by Gpz (talk | contribs)
Jump to navigation Jump to search
  • strik (x86, Windows, 32bit, MSVC)
doodledrv.c: In function ‘doodle_ted_hires_bitmap_mode_render’:
doodledrv.c:1496: warning: ‘fglum’ may be used uninitialized in this function
doodledrv.c:1502: warning: ‘bglum’ may be used uninitialized in this function
doodledrv.c: In function ‘doodle_sort_colors_colormap’:
doodledrv.c:504: warning: ‘highestindex’ may be used uninitialized in this function
doodledrv.c: In function ‘doodle_render_and_save’:
doodledrv.c:727: warning: ‘fgcolor’ may be used uninitialized in this function

spi-sdcard.c: In function ‘mmcreplay_execute_cmd’:
spi-sdcard.c:587: warning: integer constant is too large for ‘long’ type
  • common (Linux, GCC)
Making all in sounddrv
soundaiff.c: In function ‘aiff_close’:
soundaiff.c:126: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundaiff.c:129: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundaiff.c:132: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundiff.c: In function ‘iff_close’:
soundiff.c:134: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundiff.c:136: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundiff.c:141: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundiff.c:146: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundvoc.c: In function ‘voc_write’:
soundvoc.c:99: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundvoc.c:102: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundvoc.c:112: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundvoc.c:115: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundvoc.c: In function ‘voc_close’:
soundvoc.c:145: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundwav.c: In function ‘wav_close’:
soundwav.c:112: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundwav.c:115: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
soundmp3.c: In function ‘mp3_close’:
soundmp3.c:104: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result

Making all in gfxoutputdrv
bmpdrv.c: In function ‘bmpdrv_close’:
bmpdrv.c:303: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
bmpdrv.c:308: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
bmpdrv.c:313: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
bmpdrv.c:317: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
pcxdrv.c: In function ‘pcxdrv_close’:
pcxdrv.c:221: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
pcxdrv.c:230: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result

Making all in monitor
mon_lex.c: In function ‘yylex’:
mon_lex.l:362: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
mon_lex.l: At top level:
mon_lex.c:3093: warning: ‘yyunput’ defined but not used
mon_lex.c:3136: warning: ‘input’ defined but not used


c1541.c: In function ‘unlynx_loop’:
c1541.c:2435: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
c1541.c:2446: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
c1541.c:2484: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
c1541.c:2515: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
c1541.c:2526: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
c1541.c: In function ‘unlynx_cmd’:
c1541.c:2568: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
c1541.c:2583: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
c1541.c:2601: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
  • gpz (x86, Linux/Gentoo, 64bit, GCC)
Making all in gfxoutputdrv
pngdrv.c: In function ‘pngdrv_open’:
pngdrv.c:79: warning: ‘jmpbuf’ is deprecated (declared at /usr/include/libpng14/png.h:1096)
pngdrv.c:102: warning: ‘width’ is deprecated (declared at /usr/include/libpng14/png.h:639)
pngdrv.c:103: warning: ‘height’ is deprecated (declared at /usr/include/libpng14/png.h:640)
pngdrv.c:104: warning: ‘bit_depth’ is deprecated (declared at /usr/include/libpng14/png.h:651)
pngdrv.c:105: warning: ‘color_type’ is deprecated (declared at /usr/include/libpng14/png.h:653)

Making all in gnome
datasette.c: In function ‘bit_write’:
datasette.c:783: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
fliplist.c: In function ‘fliplist_load_list’:
fliplist.c:360: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
fliplist.c:379: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
network.c: In function ‘network_server_connect_trap’:
network.c:375: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
network.c: In function ‘network_connect_client’:
network.c:624: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
resources.c: In function ‘resources_set_value_event’:
resources.c:566: warning: cast to pointer from integer of different size
resources.c: In function ‘string_resource_item’:
resources.c:1073: warning: cast to pointer from integer of different size
sysfile.c: In function ‘sysfile_load’:
sysfile.c:301: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
zfile.c: In function ‘try_uncompress_with_gzip’:
zfile.c:202: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
zfile.c: In function ‘try_uncompress_archive’:
zfile.c:438: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
  • gpz (PPC, Linux/Gentoo, 32bit, GCC)
Making all in cart
spi-sdcard.c: In function ‘mmcreplay_execute_cmd’:
spi-sdcard.c:587: warning: integer constant is too large for ‘long’ type

Making all in c64dtv
In file included from ../maincpu.c:494,
                 from c64dtvcpu.c:473:
../6510core.c: In function ‘maincpu_mainloop’:
../6510core.c:1912: warning: dereferencing type-punned pointer will break strict-aliasing rules
../6510core.c:1912: warning: dereferencing type-punned pointer will break strict-aliasing rules
../6510core.c:1912: warning: dereferencing type-punned pointer will break strict-aliasing rules