Warnings: Difference between revisions

From vice-emu
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 16: Line 16:
</pre>
</pre>


* common (Linux, GCC >= 4.4.2) (r23448)
* common (Linux, GCC >= 4.4.2) (r25009)


<pre>
<pre>
Making all in monitor
Making all in monitor
mon_lex.c: In function ‘yylex’:
mon_lex.c:3246:17: warning: ‘yyunput’ defined but not used
mon_lex.l:382: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
mon_lex.c:3287:16: warning: ‘input’ defined but not used
mon_lex.l: At top level:
mon_lex.l: In function ‘yylex’:
mon_lex.c:3139: warning: ‘yyunput’ defined but not used
mon_lex.l:453:1: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
mon_lex.c:3180: warning: ‘input’ defined but not used


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


top level:
top level:
network.c: In function ‘network_test_delay’:
network.c: In function ‘network_test_delay’:
network.c:306: warning: dereferencing type-punned pointer will break strict-aliasing rules
network.c:306:13: warning: dereferencing type-punned pointer will break strict-aliasing rules
network.c:310: warning: dereferencing type-punned pointer will break strict-aliasing rules
network.c:310:13: 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
</pre>
</pre>


Line 81: Line 73:
</pre>
</pre>


* gpz (x86, Linux/Gentoo, 64bit, GCC) (r22733)
* gpz (x86, Linux/Gentoo, 64bit, GCC) (r25009)


<pre>
<pre>
-
Making all in tcbm
</pre>
drive-sound.c: In function ‘drive_sound_machine_calculate_samples’:
drive-sound.c:1866:30: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1867:30: warning: pointer targets in assignment differ in signedness
drive-sound.c:1869:30: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1870:30: warning: pointer targets in assignment differ in signedness
drive-sound.c:1872:30: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1881:29: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1884:29: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1887:29: warning: comparison of distinct pointer types lacks a cast
drive-sound.c: In function ‘drive_sound_update’:
drive-sound.c:1956:21: warning: pointer targets in assignment differ in signedness
drive-sound.c:1960:21: warning: pointer targets in assignment differ in signedness
drive-sound.c: In function ‘drive_sound_head’:
drive-sound.c:1977:24: warning: pointer targets in assignment differ in signedness
drive-sound.c:1980:20: warning: pointer targets in assignment differ in signedness
 
Making all in gfxoutputdrv
In file included from ffmpegdrv.c:35:0:
ffmpeglib.h:87:1: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
ffmpeglib.h:88:1: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
In file included from ffmpeglib.c:32:0:
../../src/gfxoutputdrv/ffmpeglib.h:87:1: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
../../src/gfxoutputdrv/ffmpeglib.h:88:1: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)


* gpz (PPC, Linux/Gentoo, 32bit, GCC) (r22762) - XAW UI
Making all in core
ata.c: In function ‘read_sector’:
ata.c:282:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result


<pre>
Making all in cart
Making all in video                                                                                                                                         
c64io.c: In function ‘c64io_d000_store’:
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                           
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
                from ../../src/arch/unix/videoarch.h:12,                                                                                                   
c64io.c:382:12: note: ‘store’ was declared here
                from video-canvas.c:39:                                                                                                                    
c64io.c: In function ‘c64io_d100_store’:
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                           
c64io.c:382:12: note: ‘store’ was declared here
                from ../../src/arch/unix/videoarch.h:12,                                                                                                   
c64io.c: In function ‘c64io_d200_store’:
                from video-color.c:41:                                                                                                                    
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
c64io.c:382:12: note: ‘store’ was declared here
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                           
c64io.c: In function ‘c64io_d300_store’:
                from ../../src/arch/unix/videoarch.h:12,                                                                                                   
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
                from video-resources.c:37:                                                                                                                
c64io.c:382:12: note: ‘store’ was declared here
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
c64io.c: In function ‘c64io_d400_store’:
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                           
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
                from ../../src/arch/unix/videoarch.h:12,                                                                                                   
c64io.c:382:12: note: ‘store’ was declared here
                from video-viewport.c:32:                                                                                                                  
c64io.c: In function ‘c64io_d500_store’:
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
Making all in raster                                                                                                                                       
c64io.c:382:12: note: ‘store’ was declared here
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                           
c64io.c: In function ‘c64io_d600_store’:
                from ../../src/arch/unix/videoarch.h:12,                                                                                                   
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
                from raster-canvas.c:37:                                                                                                                  
c64io.c:382:12: note: ‘store’ was declared here
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
c64io.c: In function ‘c64io_d700_store’:
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                           
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
                from ../../src/arch/unix/videoarch.h:12,                                                                                                   
c64io.c:382:12: note: ‘store’ was declared here
                from raster.c:51:                                                                                                                          
c64io.c: In function ‘c64io_de00_store’:
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
Making all in vicii                                                                                                                                         
c64io.c:382:12: note: ‘store’ was declared here
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                           
c64io.c: In function ‘c64io_df00_store’:
                from ../../src/arch/unix/videoarch.h:12,                                                                                                   
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
                from vicii.c:86:                                                                                                                          
c64io.c:382:12: note: ‘store’ was declared here
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
Making all in viciinew                                                                                                                                     
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                           
                from ../../src/arch/unix/videoarch.h:12,                                                                                                   
                from vicii.c:64:                                                                                                                          
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               


Making all in cart                                                                                                                                         
Making all in gnome
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                           
attach.c: In function ‘set_file_system_device’:
                from ../../src/arch/unix/videoarch.h:12,                                                                                                   
attach.c:349:52: warning: array subscript is above array bounds
                from vic.c:61:                                                                                                                             
</pre>
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               


Making all in plus4                                                                                                                                         
* gpz (PPC, Linux/Gentoo, 32bit, GCC) (r22762) - XAW UI
In file included from ../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                          
                from ../../src/arch/unix/videoarch.h:12,                                                                                                  
                from ted.c:65:                                                                                                                             
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               


Making all in gui                                                                                                                                           
note: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" removed
In file included from ../../../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                     
                from ../../../../src/arch/unix/videoarch.h:12,                                                                                             
                from ../../../../src/arch/unix/openGL_sync.h:31,                                                                                           
                from ui.c:40:                                                                                                                             
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
In file included from ../../../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                     
                from ../../../../src/arch/unix/videoarch.h:12,                                                                                             
                from vsidui.c:53:                                                                                                                         
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                                


<pre>
Making all in widgets                                                                                                                                         
Making all in widgets                                                                                                                                         
Canvas.c:78: warning: initialization from incompatible pointer type                                                                                           
Canvas.c:78: warning: initialization from incompatible pointer type                                                                                           
Line 166: Line 163:
TextField.c:786: warning: passing argument 6 of ‘XmuConvertStandardSelection’ from incompatible pointer type                                                 
TextField.c:786: warning: passing argument 6 of ‘XmuConvertStandardSelection’ from incompatible pointer type                                                 
/usr/include/X11/Xmu/StdSel.h:43: note: expected ‘char **’ but argument is of type ‘Atom **’                                                                 
/usr/include/X11/Xmu/StdSel.h:43: note: expected ‘char **’ but argument is of type ‘Atom **’                                                                 
In file included from videoarch.h:44,                                                                                                                       
                from about.c:51:                                                                                                                           
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
In file included from videoarch.h:44,                                                                                                                       
                from lightpendrv.c:36:                                                                                                                     
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
In file included from videoarch.h:44,                                                                                                                       
                from uicolor.c:42:                                                                                                                         
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
In file included from videoarch.h:44,                                                                                                                       
                from x11video.c:82:                                                                                                                       
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
x11video.c:272: warning: function declaration isn’t a prototype                                                                                               
x11video.c:272: warning: function declaration isn’t a prototype                                                                                               
In file included from widgets/FileSel.h:26,                                                                                                                   
In file included from widgets/FileSel.h:26,                                                                                                                   
                 from x11ui.c:93:                                                                                                                             
                 from x11ui.c:93:                                                                                                                             
widgets/DirMgr.h:86: warning: function declaration isn’t a prototype                                                                                         
widgets/DirMgr.h:86: warning: function declaration isn’t a prototype                                                                                         
In file included from videoarch.h:44,                                                                                                                       
                from x11ui.c:96:                                                                                                                           
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
x11ui.c:164: warning: function declaration isn’t a prototype                                                                                                 
x11ui.c:164: warning: function declaration isn’t a prototype                                                                                                 
x11ui.c: In function ‘ui_display_statustext’:                                                                                                                 
x11ui.c: In function ‘ui_display_statustext’:                                                                                                                 
Line 190: Line 172:
x11ui.c: At top level:                                                                                                                                       
x11ui.c: At top level:                                                                                                                                       
x11ui.c:163: warning: ‘freeBlankCursor’ defined but not used                                                                                                 
x11ui.c:163: warning: ‘freeBlankCursor’ defined but not used                                                                                                 
In file included from ../../../../src/arch/unix/x11/xaw/videoarch.h:44,                                                                                     
                from ../../../../src/arch/unix/videoarch.h:12,                                                                                             
                from fullscreen.c:38:                                                                                                                     
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"                               
In file included from renderxv.h:38,
                from renderxv.c:35:
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
In file included from ../../../../src/arch/unix/x11/xaw/videoarch.h:44,
                from ../../../../src/arch/unix/videoarch.h:12,
                from vidmode.c:43:
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
In file included from ../../../../src/arch/unix/x11/xaw/videoarch.h:44,
                from ../../../../src/arch/unix/videoarch.h:12,
                from xrandr.c:38:
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
In file included from x11/xaw/videoarch.h:44,
                from videoarch.h:12,
                from vsyncarch.c:33:
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
In file included from ../src/arch/unix/x11/xaw/videoarch.h:44,
                from ../src/arch/unix/videoarch.h:12,
                from vsync.c:69:
/usr/include/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
</pre>
</pre>



Revision as of 22:13, 17 December 2011

  • 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) (r25009)
Making all in monitor
mon_lex.c:3246:17: warning: ‘yyunput’ defined but not used
mon_lex.c:3287:16: warning: ‘input’ defined but not used
mon_lex.l: In function ‘yylex’:
mon_lex.l:453:1: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result

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

top level:
network.c: In function ‘network_test_delay’:
network.c:306:13: warning: dereferencing type-punned pointer will break strict-aliasing rules
network.c:310:13: warning: dereferencing type-punned pointer will break strict-aliasing rules
  • 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) (r25009)
Making all in tcbm
drive-sound.c: In function ‘drive_sound_machine_calculate_samples’:
drive-sound.c:1866:30: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1867:30: warning: pointer targets in assignment differ in signedness
drive-sound.c:1869:30: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1870:30: warning: pointer targets in assignment differ in signedness
drive-sound.c:1872:30: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1881:29: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1884:29: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1887:29: warning: comparison of distinct pointer types lacks a cast
drive-sound.c: In function ‘drive_sound_update’:
drive-sound.c:1956:21: warning: pointer targets in assignment differ in signedness
drive-sound.c:1960:21: warning: pointer targets in assignment differ in signedness
drive-sound.c: In function ‘drive_sound_head’:
drive-sound.c:1977:24: warning: pointer targets in assignment differ in signedness
drive-sound.c:1980:20: warning: pointer targets in assignment differ in signedness

Making all in gfxoutputdrv
In file included from ffmpegdrv.c:35:0:
ffmpeglib.h:87:1: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
ffmpeglib.h:88:1: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
In file included from ffmpeglib.c:32:0:
../../src/gfxoutputdrv/ffmpeglib.h:87:1: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)
../../src/gfxoutputdrv/ffmpeglib.h:88:1: warning: ‘ByteIOContext’ is deprecated (declared at /usr/include/libavformat/avio.h:50)

Making all in core
ata.c: In function ‘read_sector’:
ata.c:282:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result

Making all in cart
c64io.c: In function ‘c64io_d000_store’:
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
c64io.c:382:12: note: ‘store’ was declared here
c64io.c: In function ‘c64io_d100_store’:
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
c64io.c:382:12: note: ‘store’ was declared here
c64io.c: In function ‘c64io_d200_store’:
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
c64io.c:382:12: note: ‘store’ was declared here
c64io.c: In function ‘c64io_d300_store’:
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
c64io.c:382:12: note: ‘store’ was declared here
c64io.c: In function ‘c64io_d400_store’:
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
c64io.c:382:12: note: ‘store’ was declared here
c64io.c: In function ‘c64io_d500_store’:
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
c64io.c:382:12: note: ‘store’ was declared here
c64io.c: In function ‘c64io_d600_store’:
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
c64io.c:382:12: note: ‘store’ was declared here
c64io.c: In function ‘c64io_d700_store’:
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
c64io.c:382:12: note: ‘store’ was declared here
c64io.c: In function ‘c64io_de00_store’:
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
c64io.c:382:12: note: ‘store’ was declared here
c64io.c: In function ‘c64io_df00_store’:
c64io.c:382:12: warning: ‘store’ may be used uninitialized in this function
c64io.c:382:12: note: ‘store’ was declared here

Making all in gnome
attach.c: In function ‘set_file_system_device’:
attach.c:349:52: warning: array subscript is above array bounds
  • gpz (PPC, Linux/Gentoo, 32bit, GCC) (r22762) - XAW UI

note: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" removed

Making all in widgets                                                                                                                                        
Canvas.c:78: warning: initialization from incompatible pointer type                                                                                          
Canvas.c:79: warning: initialization from incompatible pointer type                                                                                          
Canvas.c:80: warning: initialization from incompatible pointer type                                                                                          
In file included from DirMgr.c:39:                                                                                                                           
DirMgr.h:86: warning: function declaration isn’t a prototype                                                                                                 
In file included from FileSelP.h:25,                                                                                                                         
                 from FileSel.c:71:                                                                                                                          
DirMgr.h:86: warning: function declaration isn’t a prototype                                                                                                 
FileSel.c: In function ‘GotoDeepestLegalDirectory’:                                                                                                          
FileSel.c:1229: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result                                                       
TextField.c:147: warning: initialization from incompatible pointer type                                                                                      
TextField.c:149: warning: initialization from incompatible pointer type                                                                                      
TextField.c: In function ‘ConvertSelection’:                                                                                                                 
TextField.c:786: warning: passing argument 6 of ‘XmuConvertStandardSelection’ from incompatible pointer type                                                 
/usr/include/X11/Xmu/StdSel.h:43: note: expected ‘char **’ but argument is of type ‘Atom **’                                                                 
x11video.c:272: warning: function declaration isn’t a prototype                                                                                              
In file included from widgets/FileSel.h:26,                                                                                                                  
                 from x11ui.c:93:                                                                                                                            
widgets/DirMgr.h:86: warning: function declaration isn’t a prototype                                                                                         
x11ui.c:164: warning: function declaration isn’t a prototype                                                                                                 
x11ui.c: In function ‘ui_display_statustext’:                                                                                                                
x11ui.c:2304: warning: format not a string literal and no format arguments                                                                                   
x11ui.c: At top level:                                                                                                                                       
x11ui.c:163: warning: ‘freeBlankCursor’ defined but not used                                                                                                 
  • strik (x86, Windows, 32bit, MSVC6, release build) (r22786)

For the debug build, some warnings are missing.

vice\src\zfile.c(202) : warning C4018: '<' : signed/unsigned mismatch
vice\src\monitor\mon_lex.c(2999) : warning C4018: '<' : signed/unsigned mismatch
  • gpz (Win32 crosscompile on Linux/mingw32, GCC 3.x) (r25009)
drive-sound.c: In function `drive_sound_machine_calculate_samples':
drive-sound.c:1866: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1869: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1872: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1881: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1884: warning: comparison of distinct pointer types lacks a cast
drive-sound.c:1887: warning: comparison of distinct pointer types lacks a cast

sid-resources.c: In function `add_sid_engine_models':
sid-resources.c:451: warning: assignment discards qualifiers from pointer target type

ui-resources.c: In function `set_single_cpu':
ui-resources.c:121: warning: passing arg 2 of `GetProcessAffinityMask' from incompatible pointer type
ui-resources.c:121: warning: passing arg 3 of `GetProcessAffinityMask' from incompatible pointer type
uimon.c: In function `iOpenGeneric':
uimon.c:363: warning: passing arg 1 of `uimon_icep' from incompatible pointer type
uimon.c: In function `generic_window_proc':
uimon.c:2390: warning: passing arg 1 of `uimon_iep' from incompatible pointer type