Warnings: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
* common (Linux, GCC >= 4.4.2) ( | * common (Linux, GCC >= 4.4.2) (r25058) | ||
<pre> | <pre> | ||
Line 18: | Line 18: | ||
network.c:306:13: 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: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 | ||
</pre> | </pre> | ||
Revision as of 02:16, 23 December 2011
- common (Linux, GCC >= 4.4.2) (r25058)
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 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) (r25035)
-
- gpz (x86, Linux/Gentoo, 64bit, GCC) (r25009)
note: this is with ffmpeg-0.7.8
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
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 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 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