Warnings: Difference between revisions

From vice-emu
Jump to navigation Jump to search
No edit summary
No edit summary
Line 43: Line 43:
resources.c:661: note: initialized from here
resources.c:661: note: initialized from here
resources.c:891: warning: ‘tmp’ may be used uninitialized in this function
resources.c:891: warning: ‘tmp’ may be used uninitialized in this function
</pre>
* common, if readline is not installed (Linux, GCC >= 4.4.2) (r22733)
<pre>
Making all in readline                                                                       
In file included from ../../../../src/vice.h:38,                                             
                from editline.h:8,                                                           
                from editline.c:5:                                                           
../../../../src/config.h:487:1: warning: "HAVE_STDLIB" redefined                             
<command-line>: warning: this is the location of the previous definition                     
editline.c: In function ‘TTYflush’:                                                           
editline.c:110: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
editline.c: In function ‘search_hist’:                                                             
editline.c:562: warning: assignment from incompatible pointer type                                 
In file included from ../../../../src/vice.h:38,                                                   
                from editline.h:8,
                from complete.c:5:
../../../../src/config.h:487:1: warning: "HAVE_STDLIB" redefined
<command-line>: warning: this is the location of the previous definition
In file included from ../../../../src/vice.h:38,
                from editline.h:8,
                from editline2.c:5:
../../../../src/config.h:487:1: warning: "HAVE_STDLIB" redefined
<command-line>: warning: this is the location of the previous definition
editline2.c: In function ‘TTYflush’:
editline2.c:198: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
editline2.c: In function ‘search_hist’:
editline2.c:649: warning: assignment from incompatible pointer type
In file included from ../../../../src/vice.h:38,
                from editline.h:8,
                from sysunix.c:5:
../../../../src/config.h:487:1: warning: "HAVE_STDLIB" redefined
<command-line>: warning: this is the location of the previous definition
</pre>
</pre>



Revision as of 15:48, 19 July 2010

  • strik (x86, Windows, 32bit, GCC) (r22???)
gfxoutputdrv:
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

cart:
spi-sdcard.c: In function ‘mmcreplay_execute_cmd’:
spi-sdcard.c:587: warning: integer constant is too large for ‘long’ type
  • common (Linux, GCC >= 4.4.2) (r22733)
Making all in monitor
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

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

top level:
network.c: In function ‘network_test_delay’:
network.c:306: warning: dereferencing type-punned pointer will break strict-aliasing rules
network.c:310: warning: dereferencing type-punned pointer will break strict-aliasing rules

resources.c: In function ‘resources_touch’:
resources.c:658: warning: dereferencing pointer ‘value_return.98’ does break strict-aliasing rules
resources.c:658: note: initialized from here
resources.c:661: warning: dereferencing pointer ‘value_return.99’ does break strict-aliasing rules
resources.c:661: note: initialized from here
resources.c:891: warning: ‘tmp’ may be used uninitialized in this function
  • common, if readline is not installed (Linux, GCC >= 4.4.2) (r22733)
Making all in readline                                                                         
In file included from ../../../../src/vice.h:38,                                               
                 from editline.h:8,                                                            
                 from editline.c:5:                                                            
../../../../src/config.h:487:1: warning: "HAVE_STDLIB" redefined                               
<command-line>: warning: this is the location of the previous definition                       
editline.c: In function ‘TTYflush’:                                                            
editline.c:110: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
editline.c: In function ‘search_hist’:                                                               
editline.c:562: warning: assignment from incompatible pointer type                                   
In file included from ../../../../src/vice.h:38,                                                     
                 from editline.h:8,
                 from complete.c:5:
../../../../src/config.h:487:1: warning: "HAVE_STDLIB" redefined
<command-line>: warning: this is the location of the previous definition
In file included from ../../../../src/vice.h:38,
                 from editline.h:8,
                 from editline2.c:5:
../../../../src/config.h:487:1: warning: "HAVE_STDLIB" redefined
<command-line>: warning: this is the location of the previous definition
editline2.c: In function ‘TTYflush’:
editline2.c:198: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
editline2.c: In function ‘search_hist’:
editline2.c:649: warning: assignment from incompatible pointer type
In file included from ../../../../src/vice.h:38,
                 from editline.h:8,
                 from sysunix.c:5:
../../../../src/config.h:487:1: warning: "HAVE_STDLIB" redefined
<command-line>: warning: this is the location of the previous definition
  • gpz (x86, Linux/Gentoo, 64bit, GCC) (r22733)
-
  • gpz (PPC, Linux/Gentoo, 32bit, GCC) (r22733)
-