Warnings: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 404: | Line 404: | ||
^ | ^ | ||
1 warning generated. | 1 warning generated. | ||
</pre> | |||
* gpz (x86, Linux/Gentoo, 64bit, clang, GnomeUI) (r31034) | |||
<pre> | |||
./arch/win32/utils/geninfocontrib.c:799:5: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] | |||
unlink(tmpname); | |||
In file included from cia1581d.c:43: | |||
./wd1770.h:48:20: warning: inline function 'wd1770_set_side' is not defined [-Wundefined-inline] | |||
extern inline void wd1770_set_side(wd1770_t *drv, int side); | |||
^ | |||
cia1581d.c:129:5: note: used here | |||
wd1770_set_side(drive->wd1770, (byte & 0x01) ? 0 : 1); | |||
^ | |||
In file included from cia1581d.c:43: | |||
./wd1770.h:49:20: warning: inline function 'wd1770_set_motor' is not defined [-Wundefined-inline] | |||
extern inline void wd1770_set_motor(wd1770_t *drv, int on); | |||
^ | |||
cia1581d.c:130:5: note: used here | |||
wd1770_set_motor(drive->wd1770, (byte & 0x04) ? 0 : 1); | |||
^ | |||
In file included from cia1581d.c:43: | |||
./wd1770.h:44:19: warning: inline function 'wd1770_disk_change' is not defined [-Wundefined-inline] | |||
extern inline int wd1770_disk_change(wd1770_t *drv); | |||
^ | |||
cia1581d.c:188:10: note: used here | |||
if (!wd1770_disk_change(drive_context->wd1770)) { | |||
^ | |||
3 warnings generated. | |||
In file included from memiec.c:40: | |||
./wd1770.h:46:20: warning: inline function 'wd1770d_read' is not defined [-Wundefined-inline] | |||
extern inline BYTE wd1770d_read(struct drive_context_s *drv, WORD addr); | |||
^ | |||
memiec.c:141:45: note: used here | |||
drivemem_set_func(cpud, 0x20, 0x30, wd1770d_read, wd1770d_store, NULL, 0); | |||
^ | |||
In file included from memiec.c:40: | |||
./wd1770.h:45:20: warning: inline function 'wd1770d_store' is not defined [-Wundefined-inline] | |||
extern inline void wd1770d_store(struct drive_context_s *drv, WORD addr, BYTE byte); | |||
^ | |||
memiec.c:141:59: note: used here | |||
drivemem_set_func(cpud, 0x20, 0x30, wd1770d_read, wd1770d_store, NULL, 0); | |||
^ | |||
2 warnings generated. | |||
In file included from pc8477.c:41: | |||
./fdd.h:54:19: warning: inline function 'fdd_track0' is not defined [-Wundefined-inline] | |||
extern inline int fdd_track0(fd_drive_t *drv); | |||
^ | |||
pc8477.c:199:17: note: used here | |||
if (fdd_track0(drv->fdds[i].fdd)) { | |||
^ | |||
In file included from pc8477.c:41: | |||
./fdd.h:55:19: warning: inline function 'fdd_write_protect' is not defined [-Wundefined-inline] | |||
extern inline int fdd_write_protect(fd_drive_t *drv); | |||
^ | |||
pc8477.c:315:30: note: used here | |||
| (fdd_write_protect(drv->fdd) ? PC8477_ST3_WP : 0); | |||
^ | |||
In file included from pc8477.c:41: | |||
./fdd.h:53:19: warning: inline function 'fdd_index_count' is not defined [-Wundefined-inline] | |||
extern inline int fdd_index_count(fd_drive_t *drv); | |||
^ | |||
pc8477.c:357:13: note: used here | |||
if (fdd_index_count(drv->fdd) > 1) { | |||
^ | |||
In file included from pc8477.c:41: | |||
./fdd.h:52:20: warning: inline function 'fdd_index_count_reset' is not defined [-Wundefined-inline] | |||
extern inline void fdd_index_count_reset(fd_drive_t *drv); | |||
^ | |||
pc8477.c:646:29: note: used here | |||
fdd_index_count_reset(drv->fdd); | |||
^ | |||
In file included from pc8477.c:41: | |||
./fdd.h:56:19: warning: inline function 'fdd_disk_change' is not defined [-Wundefined-inline] | |||
extern inline int fdd_disk_change(fd_drive_t *drv); | |||
^ | |||
pc8477.c:1151:23: note: used here | |||
result |= fdd_disk_change(drv->fdd) ? 0x80 : 0; | |||
^ | |||
5 warnings generated. | |||
In file included from via4000.c:50: | |||
./pc8477.h:45:19: warning: inline function 'pc8477_irq' is not defined [-Wundefined-inline] | |||
extern inline int pc8477_irq(pc8477_t *drv); | |||
^ | |||
via4000.c:257:35: note: used here | |||
byte = (viap->number << 3) | (pc8477_irq(drive->pc8477) ? 0x80 : 0); | |||
^ | |||
1 warning generated. | |||
In file included from wd1770.c:39: | |||
./fdd.h:51:19: warning: inline function 'fdd_index' is not defined [-Wundefined-inline] | |||
extern inline int fdd_index(fd_drive_t *drv); | |||
^ | |||
wd1770.c:217:32: note: used here | |||
drv->status |= fdd_index(drv->fdd) ? WD_IP : 0; | |||
^ | |||
In file included from wd1770.c:39: | |||
./fdd.h:54:19: warning: inline function 'fdd_track0' is not defined [-Wundefined-inline] | |||
extern inline int fdd_track0(fd_drive_t *drv); | |||
^ | |||
wd1770.c:218:32: note: used here | |||
drv->status |= fdd_track0(drv->fdd) ? WD_T0 : 0; | |||
^ | |||
In file included from wd1770.c:39: | |||
./fdd.h:55:19: warning: inline function 'fdd_write_protect' is not defined [-Wundefined-inline] | |||
extern inline int fdd_write_protect(fd_drive_t *drv); | |||
^ | |||
wd1770.c:219:32: note: used here | |||
drv->status |= fdd_write_protect(drv->fdd) ? WD_WP : 0; | |||
^ | |||
In file included from wd1770.c:39: | |||
./fdd.h:53:19: warning: inline function 'fdd_index_count' is not defined [-Wundefined-inline] | |||
extern inline int fdd_index_count(fd_drive_t *drv); | |||
^ | |||
wd1770.c:226:21: note: used here | |||
if (fdd_index_count(drv->fdd) >= 10) { | |||
^ | |||
In file included from wd1770.c:39: | |||
./fdd.h:52:20: warning: inline function 'fdd_index_count_reset' is not defined [-Wundefined-inline] | |||
extern inline void fdd_index_count_reset(fd_drive_t *drv); | |||
^ | |||
wd1770.c:252:25: note: used here | |||
fdd_index_count_reset(drv->fdd); | |||
^ | |||
In file included from wd1770.c:39: | |||
./fdd.h:57:20: warning: inline function 'fdd_crc' is not defined [-Wundefined-inline] | |||
extern inline WORD fdd_crc(WORD crc, BYTE b); | |||
^ | |||
wd1770.c:352:36: note: used here | |||
drv->crc = fdd_crc(drv->crc, (BYTE)res); | |||
^ | |||
In file included from wd1770.c:39: | |||
./fdd.h:56:19: warning: inline function 'fdd_disk_change' is not defined [-Wundefined-inline] | |||
extern inline int fdd_disk_change(fd_drive_t *drv); | |||
^ | |||
wd1770.c:946:12: note: used here | |||
return fdd_disk_change(drv->fdd); | |||
^ | |||
video-color.c:206:20: warning: unused function 'video_convert_ycbcr_to_yuv' [-Wunused-function] | |||
static inline void video_convert_ycbcr_to_yuv(video_ycbcr_color_t *src, video_ycbcr_color_t *dst) | |||
^ | |||
video-color.c:220:20: warning: unused function 'video_convert_ycbcr_to_yiq' [-Wunused-function] | |||
static inline void video_convert_ycbcr_to_yiq(video_ycbcr_color_t *src, video_ycbcr_color_t *dst) | |||
^ | |||
video-color.c:229:20: warning: unused function 'video_convert_yiq_to_ycbcr' [-Wunused-function] | |||
static inline void video_convert_yiq_to_ycbcr(video_ycbcr_color_t *src, video_ycbcr_color_t *dst) | |||
^ | |||
raster.c:200:20: warning: unused function 'draw_blank' [-Wunused-function] | |||
inline static void draw_blank(raster_t *raster, | |||
^ | |||
1 warning generated. | |||
Making all in vicii | |||
viciidtv-draw.c:1560:20: warning: unused function '_draw_8bpp_chunky_bitmap_cached' [-Wunused-function] | |||
inline static void _draw_8bpp_chunky_bitmap_cached(BYTE *p, unsigned int xs, | |||
^ | |||
viciidtv-draw.c:1679:20: warning: unused function '_draw_8bpp_two_plane_bitmap_mode_cached' [-Wunused-function] | |||
inline static void _draw_8bpp_two_plane_bitmap_mode_cached(BYTE *p, unsigned int xs, | |||
^ | |||
viciidtv-draw.c:1792:20: warning: unused function '_draw_8bpp_fred_bitmap_mode_cached' [-Wunused-function] | |||
inline static void _draw_8bpp_fred_bitmap_mode_cached(BYTE *p, unsigned int xs, | |||
^ | |||
viciidtv-draw.c:1912:20: warning: unused function '_draw_8bpp_fred2_bitmap_mode_cached' [-Wunused-function] | |||
inline static void _draw_8bpp_fred2_bitmap_mode_cached(BYTE *p, unsigned int xs, | |||
^ | |||
viciidtv-draw.c:2017:20: warning: unused function '_draw_8bpp_pixel_cell_bitmap_mode_cached' [-Wunused-function] | |||
inline static void _draw_8bpp_pixel_cell_bitmap_mode_cached(BYTE *p, unsigned int xs, | |||
drv-1520.c:216:19: warning: unused function 'vice_max' [-Wunused-function] | |||
static inline int vice_max(int a, int b) | |||
^ | |||
mmc64.c:208:32: warning: unused variable 'export_cp_res' [-Wunused-const-variable] | |||
static const export_resource_t export_cp_res = { | |||
^ | |||
1 warning generated. | |||
silverrock128.c:206:19: warning: unused variable 'bank_val' [-Wunused-const-variable] | |||
static const BYTE bank_val[] = {0x00, 0x80, 0x10, 0x90, 0x20, 0xa0, 0x30, 0xb0, 0x40, 0xc0, 0x50, 0xd0, 0x60, 0xe0, 0x70, 0xf0}; | |||
^ | |||
In file included from ./../maincpu.c:505: | |||
../../src/6510core.c:2264:17: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] | |||
JSR(); | |||
^~~~~ | |||
../../src/6510core.c:1058:22: note: expanded from macro 'JSR' | |||
CLK_ADD(CLK, CLK_JSR_INT_CYCLE); \ | |||
^~~~~~~~~~~~~~~~~ | |||
c64dtvcpu.c:198:99: note: expanded from macro 'CLK_JSR_INT_CYCLE' | |||
#define CLK_JSR_INT_CYCLE (1 - (dtv_registers[9] & 1) + ((dtv_registers[9] & 2) && (reg_pc == 0)) ? 1 : 0) | |||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ | |||
c64dtvcpu.c:129:60: note: expanded from macro 'CLK_ADD' | |||
#define CLK_ADD(clock, amount) c64dtvcpu_clock_add(&clock, amount) | |||
^ | |||
../../src/6510core.c:2264:17: note: place parentheses around the '+' expression to silence this warning | |||
JSR(); | |||
^~~~~ | |||
../../src/6510core.c:1058:22: note: expanded from macro 'JSR' | |||
CLK_ADD(CLK, CLK_JSR_INT_CYCLE); \ | |||
^~~~~~~~~~~~~~~~~ | |||
c64dtvcpu.c:198:99: note: expanded from macro 'CLK_JSR_INT_CYCLE' | |||
#define CLK_JSR_INT_CYCLE (1 - (dtv_registers[9] & 1) + ((dtv_registers[9] & 2) && (reg_pc == 0)) ? 1 : 0) | |||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ | |||
c64dtvcpu.c:129:60: note: expanded from macro 'CLK_ADD' | |||
#define CLK_ADD(clock, amount) c64dtvcpu_clock_add(&clock, amount) | |||
^ | |||
../../src/6510core.c:2264:17: note: place parentheses around the '?:' expression to evaluate it first | |||
JSR(); | |||
^~~~~ | |||
../../src/6510core.c:1058:22: note: expanded from macro 'JSR' | |||
CLK_ADD(CLK, CLK_JSR_INT_CYCLE); \ | |||
^~~~~~~~~~~~~~~~~ | |||
c64dtvcpu.c:198:99: note: expanded from macro 'CLK_JSR_INT_CYCLE' | |||
#define CLK_JSR_INT_CYCLE (1 - (dtv_registers[9] & 1) + ((dtv_registers[9] & 2) && (reg_pc == 0)) ? 1 : 0) | |||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | |||
c64dtvcpu.c:129:60: note: expanded from macro 'CLK_ADD' | |||
#define CLK_ADD(clock, amount) c64dtvcpu_clock_add(&clock, amount) | |||
^ | |||
ted-badline.c:61:20: warning: unused function 'line_becomes_bad' [-Wunused-function] | |||
inline static void line_becomes_bad(int cycle) | |||
^ | |||
1 warning generated. | |||
ted-mem.c:875:28: warning: unused function 'read_raster_y' [-Wunused-function] | |||
inline static unsigned int read_raster_y(void) | |||
^ | |||
uimenu.c:165:65: warning: implicit conversion from enumeration type 'GtkAccelFlags' to different enumeration type 'GdkModifierType' [-Wenum-conversion] | |||
gtk_widget_add_accelerator(w, "activate", accel, accel_key, flags, GTK_ACCEL_VISIBLE); | |||
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ | |||
In file included from info.c:33: | |||
./infocontrib.h:224:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
" Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>\n" | |||
^~~~ | |||
./infocontrib.h:274:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
" Paul Dub<E9> \n" | |||
^~~~ | |||
./infocontrib.h:435:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
" Frank K<F6>nig <frank_koenig@t-online.de>\n" | |||
^~~~ | |||
./infocontrib.h:465:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
" Marko M<E4>kel<E4> <msmakela@gmail.com>\n" | |||
^~~~ ~~~~ | |||
./infocontrib.h:499:10: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
" Lasse <D6><F6>rni <loorni@mail.student.oulu.fi>\n" | |||
^~~~~~~~ | |||
./infocontrib.h:523:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
" Pablo Rold<E1>n <pdroldan@yahoo.com>\n" | |||
^~~~ | |||
./infocontrib.h:619:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
" Istv<E1>n F<E1>bi<E1>n\n" | |||
^~~~ ~~~~ ~~~~ | |||
./infocontrib.h:665:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
" Peternel, Per H<E5>kan Sundell and David Horrocks for writing\n" | |||
^~~~ | |||
./infocontrib.h:704:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
{ "1996-2001", "Andr<E9> Fachat", "Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>" }, | |||
^~~~ | |||
./infocontrib.h:704:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
{ "1996-2001", "Andr<E9> Fachat", "Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>" }, | |||
^~~~ | |||
./infocontrib.h:716:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
{ "2004-2016", "Paul Dub<E9>", "French", "Paul Dub<E9> " }, | |||
^~~~ | |||
./infocontrib.h:716:52: warning: illegal character encoding in string literal [-Winvalid-source-encoding] | |||
{ "2004-2016", "Paul Dub<E9>", "French", "Paul Dub<E9> " }, | |||
^~~~ | |||
</pre> | </pre> |
Revision as of 14:53, 17 April 2016
- gpz (x86, Linux/Gentoo, 64bit, GCC, GnomeUI) (r28471)
-
- gpz (x86, Linux/Gentoo, 64bit, GCC, SDL) (r28471)
-
- gpz (Win32 crosscompile on Linux/32bit mingw32, GCC 3.x) (r28473)
mon_assemble65816.c: In function `mon_assemble_instr': mon_assemble65816.c:162: warning: comparison is always true due to limited range of data type
- gpz (Win32, GCC 3.x (64bit mingw32)) (r28473)
In file included from archdep.c:43:0: c:\mingw\include\dir.h:37:2: warning: #warning WARNING - The dir.h file is obsolete and will be removed; use io.h instead. [-Wcpp] #warning WARNING - The dir.h file is obsolete and will be removed; use io.h instead. ^
- 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 (OSX, clang) (r29876)
Making all in sounddrv soundcoreaudio.c:380:22: warning: 'FindNextComponent' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] Component comp = FindNextComponent(NULL, &desc); ^ /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:469:1: note: 'FindNextComponent' declared here FindNextComponent( ^ soundcoreaudio.c:387:11: warning: 'OpenAComponent' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] err = OpenAComponent(comp, &outputUnit); ^ /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:559:1: note: 'OpenAComponent' declared here OpenAComponent( ^ soundcoreaudio.c:448:5: warning: 'CloseComponent' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] CloseComponent(outputUnit); ^ /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:593:1: note: 'CloseComponent' declared here CloseComponent(ComponentInstance aComponentInstance) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IP... ^ In file included from ./../maincpu.c:505: ../../src/6510core.c:2259:17: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] JSR(); ^~~~~ ../../src/6510core.c:1058:22: note: expanded from macro 'JSR' CLK_ADD(CLK, CLK_JSR_INT_CYCLE); \ ^~~~~~~~~~~~~~~~~ c64dtvcpu.c:198:99: note: expanded from macro 'CLK_JSR_INT_CYCLE' #define CLK_JSR_INT_CYCLE (1 - (dtv_registers[9] & 1) + ((dtv_registers[9] & 2) && (reg_pc == 0)) ? 1 : 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ c64dtvcpu.c:129:60: note: expanded from macro 'CLK_ADD' #define CLK_ADD(clock, amount) c64dtvcpu_clock_add(&clock, amount) ^ ../../src/6510core.c:2259:17: note: place parentheses around the '+' expression to silence this warning JSR(); ^~~~~ ../../src/6510core.c:1058:22: note: expanded from macro 'JSR' CLK_ADD(CLK, CLK_JSR_INT_CYCLE); \ ^~~~~~~~~~~~~~~~~ c64dtvcpu.c:198:99: note: expanded from macro 'CLK_JSR_INT_CYCLE' #define CLK_JSR_INT_CYCLE (1 - (dtv_registers[9] & 1) + ((dtv_registers[9] & 2) && (reg_pc == 0)) ? 1 : 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ c64dtvcpu.c:129:60: note: expanded from macro 'CLK_ADD' #define CLK_ADD(clock, amount) c64dtvcpu_clock_add(&clock, amount) ^ ../../src/6510core.c:2259:17: note: place parentheses around the '?:' expression to evaluate it first JSR(); ^~~~~ ../../src/6510core.c:1058:22: note: expanded from macro 'JSR' CLK_ADD(CLK, CLK_JSR_INT_CYCLE); \ ^~~~~~~~~~~~~~~~~ c64dtvcpu.c:198:99: note: expanded from macro 'CLK_JSR_INT_CYCLE' #define CLK_JSR_INT_CYCLE (1 - (dtv_registers[9] & 1) + ((dtv_registers[9] & 2) && (reg_pc == 0)) ? 1 : 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ c64dtvcpu.c:129:60: note: expanded from macro 'CLK_ADD' #define CLK_ADD(clock, amount) c64dtvcpu_clock_add(&clock, amount) ^ Making all in view driveview.m:219:19: warning: multiple methods named 'tag' found int command = [sender tag]; ^~~~~~~~~~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSView.h:306:1: note: using - (NSInteger)tag; ^~~~~~~~~~~~~~~~~ driveview.m:229:1: note: also found - (int)tag ^~~~~~~~~~ driveview.m:229:1: warning: conflicting return type in implementation of 'tag': 'NSInteger' (aka 'long') vs 'int' [-Wmismatched-return-types] - (int)tag ^ ~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSView.h:306:1: note: previous definition is here - (NSInteger)tag; ^ ~~~~~~~~~ 2 warnings generated. soundview.m:63:31: warning: incompatible pointer types sending 'NSAttributedString *' to parameter of type 'NSString *' [-Wincompatible-pointer-types] [minVolume setStringValue:[[NSAttributedString alloc] initWithRTF:rtfMinVolString documentAttributes:NULL]]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSAttributedString.h:227:1: note: instance method 'initWithRTF:documentAttributes:' is assumed to return an instance of its receiver type ('NSAttributedString *') - (id)initWithRTF:(NSData *)data documentAttributes:(NSDictionary **)dict; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:63:36: note: passing argument to parameter 'aString' here - (void)setStringValue:(NSString *)aString; ^ soundview.m:73:31: warning: incompatible pointer types sending 'NSAttributedString *' to parameter of type 'NSString *' [-Wincompatible-pointer-types] [maxVolume setStringValue:[[NSAttributedString alloc] initWithRTF:rtfMaxVolString documentAttributes:NULL]]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSAttributedString.h:227:1: note: instance method 'initWithRTF:documentAttributes:' is assumed to return an instance of its receiver type ('NSAttributedString *') - (id)initWithRTF:(NSData *)data documentAttributes:(NSDictionary **)dict; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:63:36: note: passing argument to parameter 'aString' here - (void)setStringValue:(NSString *)aString; ^ 2 warnings generated. Making all in menu viceappcontroller.m:191:35: warning: 'filename' is deprecated [-Wdeprecated-declarations] NSString * path = [[panel filename] stringByAppendingPathExtension:[extensions objectAtIndex:type]]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:278:1: note: method 'filename' declared here - (NSString *)filename NS_DEPRECATED_MAC(10_0, 10_6); ^ viceappcontroller.m:315:34: warning: 'filename' is deprecated [-Wdeprecated-declarations] NSString * path = [panel filename]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:278:1: note: method 'filename' declared here - (NSString *)filename NS_DEPRECATED_MAC(10_0, 10_6); ^ 2 warnings generated. vicemachinecontroller.m:76:27: warning: 'createDirectoryAtPath:attributes:' is deprecated [-Wdeprecated-declarations] if (![fileManager createDirectoryAtPath:prefPath attributes:nil]) { ^ /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:172:1: note: method 'createDirectoryAtPath:attributes:' declared here - (BOOL)createDirectoryAtPath:(NSString *)path attributes:(NSDictionary *)attributes NS_DEPRECATED(10_0, 10_5, 2_0, 2_0); ^ vicemachinecontroller.m:409:26: warning: 'removeFileAtPath:handler:' is deprecated [-Wdeprecated-declarations] [fileManager removeFileAtPath:newPath handler:nil]; ^ /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:178:1: note: method 'removeFileAtPath:handler:' declared here - (BOOL)removeFileAtPath:(NSString *)path handler:(id)handler NS_DEPRECATED(10_0, 10_5, 2_0, 2_0); ^ vicemachinecontroller.m:412:30: warning: 'movePath:toPath:handler:' is deprecated [-Wdeprecated-declarations] [fileManager movePath:oldPath toPath:newPath handler:nil]; ^ /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:177:1: note: method 'movePath:toPath:handler:' declared here - (BOOL)movePath:(NSString *)src toPath:(NSString *)dest handler:(id)handler NS_DEPRECATED(10_0, 10_5, 2_0, 2_0); ^ vicemachinecontroller.m:758:9: warning: implicit declaration of function 'charset_petconvstring' is invalid in C99 [-Wimplicit-function-declaration] charset_petconvstring(pstr,0); ^ vicemachinecontroller.m:760:9: warning: implicit declaration of function 'kbdbuf_feed' is invalid in C99 [-Wimplicit-function-declaration] kbdbuf_feed(pstr); ^ 5 warnings generated. vicefilepanel.m:194:24: warning: sending 'VICEFilePanel *' to parameter of incompatible type 'id<NSOpenSavePanelDelegate>' [panel setDelegate:self]; ^~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:130:50: note: passing argument to parameter 'delegate' here - (void)setDelegate:(id<NSOpenSavePanelDelegate>)delegate; ^ vicefilepanel.m:224:27: warning: 'filename' is deprecated [-Wdeprecated-declarations] fileName = [panel filename]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:278:1: note: method 'filename' declared here - (NSString *)filename NS_DEPRECATED_MAC(10_0, 10_6); ^ vicefilepanel.m:229:30: warning: comparison of constant 'NSNotFound' (9223372036854775807) with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if(contentsIndex != NSNotFound) { ~~~~~~~~~~~~~ ^ ~~~~~~~~~~ vicefilepanel.m:275:23: warning: 'filename' is deprecated [-Wdeprecated-declarations] return [panel filename]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:278:1: note: method 'filename' declared here - (NSString *)filename NS_DEPRECATED_MAC(10_0, 10_6); ^ vicefilepanel.m:291:23: warning: 'filename' is deprecated [-Wdeprecated-declarations] return [panel filename]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:278:1: note: method 'filename' declared here - (NSString *)filename NS_DEPRECATED_MAC(10_0, 10_6); ^ vicefilepanel.m:312:23: warning: 'filename' is deprecated [-Wdeprecated-declarations] return [panel filename]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:278:1: note: method 'filename' declared here - (NSString *)filename NS_DEPRECATED_MAC(10_0, 10_6); ^ vicefilepanel.m:330:23: warning: 'filename' is deprecated [-Wdeprecated-declarations] return [panel filename]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:278:1: note: method 'filename' declared here - (NSString *)filename NS_DEPRECATED_MAC(10_0, 10_6); ^ vicefilepanel.m:345:23: warning: 'filename' is deprecated [-Wdeprecated-declarations] return [panel filename]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:278:1: note: method 'filename' declared here - (NSString *)filename NS_DEPRECATED_MAC(10_0, 10_6); ^ vicefilepanel.m:382:37: warning: 'filename' is deprecated [-Wdeprecated-declarations] NSString *filename = [panel filename]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:278:1: note: method 'filename' declared here - (NSString *)filename NS_DEPRECATED_MAC(10_0, 10_6); ^ 9 warnings generated. Making all in dialog disassemblywindowcontroller.m:62:26: warning: sending 'DisassemblyWindowController *' to parameter of incompatible type 'id<NSMenuDelegate>' [theMenu setDelegate:self]; ^~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSMenu.h:150:42: note: passing argument to parameter 'anObject' here - (void)setDelegate:(id <NSMenuDelegate>)anObject; ^ disassemblywindowcontroller.m:255:32: warning: sending 'DisassemblyWindowController *' to parameter of incompatible type 'id<NSTableViewDataSource>' [memoryTable setDataSource:self]; ^~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSTableView.h:102:51: note: passing argument to parameter 'aSource' here - (void)setDataSource:(id <NSTableViewDataSource>)aSource; ^ 2 warnings generated. iotreewindowcontroller.m:62:27: warning: sending 'IOTreeWindowController *' to parameter of incompatible type 'id<NSOutlineViewDelegate>' [treeView setDelegate:self]; ^~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSOutlineView.h:125:49: note: passing argument to parameter 'anObject' here - (void)setDelegate:(id <NSOutlineViewDelegate>)anObject; ^ iotreewindowcontroller.m:63:29: warning: sending 'IOTreeWindowController *' to parameter of incompatible type 'id<NSOutlineViewDataSource>' [treeView setDataSource:self]; ^~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSOutlineView.h:128:53: note: passing argument to parameter 'aSource' here - (void)setDataSource:(id <NSOutlineViewDataSource>)aSource; ^ 2 warnings generated. memorywindowcontroller.m:95:32: warning: sending 'MemoryWindowController *' to parameter of incompatible type 'id<NSTableViewDataSource>' [memoryTable setDataSource:self]; ^~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSTableView.h:102:51: note: passing argument to parameter 'aSource' here - (void)setDataSource:(id <NSTableViewDataSource>)aSource; ^ 1 warning generated. registerwindowcontroller.m:75:34: warning: sending 'RegisterWindowController *' to parameter of incompatible type 'id<NSTableViewDataSource>' [registerTable setDataSource:self]; ^~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSTableView.h:102:51: note: passing argument to parameter 'aSource' here - (void)setDataSource:(id <NSTableViewDataSource>)aSource; ^ registerwindowcontroller.m:125:18: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] if(flags & 1 == 1) { ^~~~~~~~ registerwindowcontroller.m:125:18: note: place parentheses around the '==' expression to silence this warning if(flags & 1 == 1) { ^ ( ) registerwindowcontroller.m:125:18: note: place parentheses around the & expression to evaluate it first if(flags & 1 == 1) { ^ ( ) 2 warnings generated. resourceeditorcontroller.m:64:27: warning: sending 'ResourceEditorController *' to parameter of incompatible type 'id<NSOutlineViewDelegate>' [treeView setDelegate:self]; ^~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSOutlineView.h:125:49: note: passing argument to parameter 'anObject' here - (void)setDelegate:(id <NSOutlineViewDelegate>)anObject; ^ resourceeditorcontroller.m:65:29: warning: sending 'ResourceEditorController *' to parameter of incompatible type 'id<NSOutlineViewDataSource>' [treeView setDataSource:self]; ^~~~ /System/Library/Frameworks/AppKit.framework/Headers/NSOutlineView.h:128:53: note: passing argument to parameter 'aSource' here - (void)setDataSource:(id <NSOutlineViewDataSource>)aSource; ^ 2 warnings generated. recordmediawindowcontroller.m:49:26: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] NSString *fileName = [NSString stringWithString:@"~/capture"]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. viceapplication.m:94:51: warning: 'IOTreeWindowController' may not respond to 'initWithMemSpace:' cpuIOTreeWC = [[IOTreeWindowController alloc] initWithMemSpace:e_comp_space]; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 1 warning generated. vicemachine.m:232:17: warning: implicit declaration of function 'monitor_startup_trap' is invalid in C99 [-Wimplicit-function-declaration] monitor_startup_trap(); ^ 1 warning generated. video.m:48:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ video.m:137:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ video.m:210:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ video.m:383:5: warning: implicit declaration of function 'video_render_setrawalpha' is invalid in C99 [-Wimplicit-function-declaration] video_render_setrawalpha(0xff000000); ^ 4 warnings generated. Making all in platform platform_macosx.c:61:16: warning: 'Gestalt' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] if ((err = Gestalt(gestaltSystemVersion, &systemVersion)) != noErr) { ^ /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h:123:1: note: 'Gestalt' declared here Gestalt( ^ platform_macosx.c:76:20: warning: 'Gestalt' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] if ((err = Gestalt(gestaltSystemVersionMajor, &versionMajor)) != noErr) { ^ /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h:123:1: note: 'Gestalt' declared here Gestalt( ^ platform_macosx.c:79:20: warning: 'Gestalt' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] if ((err = Gestalt(gestaltSystemVersionMinor, &versionMinor)) != noErr) { ^ /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h:123:1: note: 'Gestalt' declared here Gestalt( ^ platform_macosx.c:82:20: warning: 'Gestalt' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] if ((err = Gestalt(gestaltSystemVersionBugFix, &versionBugFix)) != noErr) { ^ /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h:123:1: note: 'Gestalt' declared here Gestalt( ^ 4 warnings generated. In file included from info.c:33: ./infocontrib.h:224:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>\n" ^~~~ ./infocontrib.h:274:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Paul Dub<E9> \n" ^~~~ ./infocontrib.h:435:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Frank K<F6>nig <frank_koenig@t-online.de>\n" ^~~~ ./infocontrib.h:465:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Marko M<E4>kel<E4> <msmakela@gmail.com>\n" ^~~~ ~~~~ ./infocontrib.h:499:10: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Lasse <D6><F6>rni <loorni@mail.student.oulu.fi>\n" ^~~~~~~~ ./infocontrib.h:523:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Pablo Rold<E1>n <pdroldan@yahoo.com>\n" ^~~~ ./infocontrib.h:619:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Istv<E1>n F<E1>bi<E1>n\n" ^~~~ ~~~~ ~~~~ ./infocontrib.h:665:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Peternel, Per H<E5>kan Sundell and David Horrocks for writing\n" ^~~~ ./infocontrib.h:703:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "1996-2001", "Andr<E9> Fachat", "Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>" }, ^~~~ ./infocontrib.h:703:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "1996-2001", "Andr<E9> Fachat", "Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>" }, ^~~~ ./infocontrib.h:715:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "2004-2015", "Paul Dub<E9>", "French", "Paul Dub<E9> " }, ^~~~ ./infocontrib.h:715:52: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "2004-2015", "Paul Dub<E9>", "French", "Paul Dub<E9> " }, ^~~~ 12 warnings generated. joystick.c:499:12: warning: implicit declaration of function 'joystick_arch_init_resources' is invalid in C99 [-Wimplicit-function-declaration] return joystick_arch_init_resources(); ^ joystick.c:562:5: warning: implicit declaration of function 'kbd_initialize_numpad_joykeys' is invalid in C99 [-Wimplicit-function-declaration] kbd_initialize_numpad_joykeys(joykeys[0]); ^ 2 warnings generated. petcat.c:1189:9: warning: unused variable 'version' [-Wunused-variable] int version = -1; ^ 1 warning generated.
- gpz (x86, Linux/Gentoo, 64bit, clang, GnomeUI) (r31034)
./arch/win32/utils/geninfocontrib.c:799:5: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(tmpname); In file included from cia1581d.c:43: ./wd1770.h:48:20: warning: inline function 'wd1770_set_side' is not defined [-Wundefined-inline] extern inline void wd1770_set_side(wd1770_t *drv, int side); ^ cia1581d.c:129:5: note: used here wd1770_set_side(drive->wd1770, (byte & 0x01) ? 0 : 1); ^ In file included from cia1581d.c:43: ./wd1770.h:49:20: warning: inline function 'wd1770_set_motor' is not defined [-Wundefined-inline] extern inline void wd1770_set_motor(wd1770_t *drv, int on); ^ cia1581d.c:130:5: note: used here wd1770_set_motor(drive->wd1770, (byte & 0x04) ? 0 : 1); ^ In file included from cia1581d.c:43: ./wd1770.h:44:19: warning: inline function 'wd1770_disk_change' is not defined [-Wundefined-inline] extern inline int wd1770_disk_change(wd1770_t *drv); ^ cia1581d.c:188:10: note: used here if (!wd1770_disk_change(drive_context->wd1770)) { ^ 3 warnings generated. In file included from memiec.c:40: ./wd1770.h:46:20: warning: inline function 'wd1770d_read' is not defined [-Wundefined-inline] extern inline BYTE wd1770d_read(struct drive_context_s *drv, WORD addr); ^ memiec.c:141:45: note: used here drivemem_set_func(cpud, 0x20, 0x30, wd1770d_read, wd1770d_store, NULL, 0); ^ In file included from memiec.c:40: ./wd1770.h:45:20: warning: inline function 'wd1770d_store' is not defined [-Wundefined-inline] extern inline void wd1770d_store(struct drive_context_s *drv, WORD addr, BYTE byte); ^ memiec.c:141:59: note: used here drivemem_set_func(cpud, 0x20, 0x30, wd1770d_read, wd1770d_store, NULL, 0); ^ 2 warnings generated. In file included from pc8477.c:41: ./fdd.h:54:19: warning: inline function 'fdd_track0' is not defined [-Wundefined-inline] extern inline int fdd_track0(fd_drive_t *drv); ^ pc8477.c:199:17: note: used here if (fdd_track0(drv->fdds[i].fdd)) { ^ In file included from pc8477.c:41: ./fdd.h:55:19: warning: inline function 'fdd_write_protect' is not defined [-Wundefined-inline] extern inline int fdd_write_protect(fd_drive_t *drv); ^ pc8477.c:315:30: note: used here | (fdd_write_protect(drv->fdd) ? PC8477_ST3_WP : 0); ^ In file included from pc8477.c:41: ./fdd.h:53:19: warning: inline function 'fdd_index_count' is not defined [-Wundefined-inline] extern inline int fdd_index_count(fd_drive_t *drv); ^ pc8477.c:357:13: note: used here if (fdd_index_count(drv->fdd) > 1) { ^ In file included from pc8477.c:41: ./fdd.h:52:20: warning: inline function 'fdd_index_count_reset' is not defined [-Wundefined-inline] extern inline void fdd_index_count_reset(fd_drive_t *drv); ^ pc8477.c:646:29: note: used here fdd_index_count_reset(drv->fdd); ^ In file included from pc8477.c:41: ./fdd.h:56:19: warning: inline function 'fdd_disk_change' is not defined [-Wundefined-inline] extern inline int fdd_disk_change(fd_drive_t *drv); ^ pc8477.c:1151:23: note: used here result |= fdd_disk_change(drv->fdd) ? 0x80 : 0; ^ 5 warnings generated. In file included from via4000.c:50: ./pc8477.h:45:19: warning: inline function 'pc8477_irq' is not defined [-Wundefined-inline] extern inline int pc8477_irq(pc8477_t *drv); ^ via4000.c:257:35: note: used here byte = (viap->number << 3) | (pc8477_irq(drive->pc8477) ? 0x80 : 0); ^ 1 warning generated. In file included from wd1770.c:39: ./fdd.h:51:19: warning: inline function 'fdd_index' is not defined [-Wundefined-inline] extern inline int fdd_index(fd_drive_t *drv); ^ wd1770.c:217:32: note: used here drv->status |= fdd_index(drv->fdd) ? WD_IP : 0; ^ In file included from wd1770.c:39: ./fdd.h:54:19: warning: inline function 'fdd_track0' is not defined [-Wundefined-inline] extern inline int fdd_track0(fd_drive_t *drv); ^ wd1770.c:218:32: note: used here drv->status |= fdd_track0(drv->fdd) ? WD_T0 : 0; ^ In file included from wd1770.c:39: ./fdd.h:55:19: warning: inline function 'fdd_write_protect' is not defined [-Wundefined-inline] extern inline int fdd_write_protect(fd_drive_t *drv); ^ wd1770.c:219:32: note: used here drv->status |= fdd_write_protect(drv->fdd) ? WD_WP : 0; ^ In file included from wd1770.c:39: ./fdd.h:53:19: warning: inline function 'fdd_index_count' is not defined [-Wundefined-inline] extern inline int fdd_index_count(fd_drive_t *drv); ^ wd1770.c:226:21: note: used here if (fdd_index_count(drv->fdd) >= 10) { ^ In file included from wd1770.c:39: ./fdd.h:52:20: warning: inline function 'fdd_index_count_reset' is not defined [-Wundefined-inline] extern inline void fdd_index_count_reset(fd_drive_t *drv); ^ wd1770.c:252:25: note: used here fdd_index_count_reset(drv->fdd); ^ In file included from wd1770.c:39: ./fdd.h:57:20: warning: inline function 'fdd_crc' is not defined [-Wundefined-inline] extern inline WORD fdd_crc(WORD crc, BYTE b); ^ wd1770.c:352:36: note: used here drv->crc = fdd_crc(drv->crc, (BYTE)res); ^ In file included from wd1770.c:39: ./fdd.h:56:19: warning: inline function 'fdd_disk_change' is not defined [-Wundefined-inline] extern inline int fdd_disk_change(fd_drive_t *drv); ^ wd1770.c:946:12: note: used here return fdd_disk_change(drv->fdd); ^ video-color.c:206:20: warning: unused function 'video_convert_ycbcr_to_yuv' [-Wunused-function] static inline void video_convert_ycbcr_to_yuv(video_ycbcr_color_t *src, video_ycbcr_color_t *dst) ^ video-color.c:220:20: warning: unused function 'video_convert_ycbcr_to_yiq' [-Wunused-function] static inline void video_convert_ycbcr_to_yiq(video_ycbcr_color_t *src, video_ycbcr_color_t *dst) ^ video-color.c:229:20: warning: unused function 'video_convert_yiq_to_ycbcr' [-Wunused-function] static inline void video_convert_yiq_to_ycbcr(video_ycbcr_color_t *src, video_ycbcr_color_t *dst) ^ raster.c:200:20: warning: unused function 'draw_blank' [-Wunused-function] inline static void draw_blank(raster_t *raster, ^ 1 warning generated. Making all in vicii viciidtv-draw.c:1560:20: warning: unused function '_draw_8bpp_chunky_bitmap_cached' [-Wunused-function] inline static void _draw_8bpp_chunky_bitmap_cached(BYTE *p, unsigned int xs, ^ viciidtv-draw.c:1679:20: warning: unused function '_draw_8bpp_two_plane_bitmap_mode_cached' [-Wunused-function] inline static void _draw_8bpp_two_plane_bitmap_mode_cached(BYTE *p, unsigned int xs, ^ viciidtv-draw.c:1792:20: warning: unused function '_draw_8bpp_fred_bitmap_mode_cached' [-Wunused-function] inline static void _draw_8bpp_fred_bitmap_mode_cached(BYTE *p, unsigned int xs, ^ viciidtv-draw.c:1912:20: warning: unused function '_draw_8bpp_fred2_bitmap_mode_cached' [-Wunused-function] inline static void _draw_8bpp_fred2_bitmap_mode_cached(BYTE *p, unsigned int xs, ^ viciidtv-draw.c:2017:20: warning: unused function '_draw_8bpp_pixel_cell_bitmap_mode_cached' [-Wunused-function] inline static void _draw_8bpp_pixel_cell_bitmap_mode_cached(BYTE *p, unsigned int xs, drv-1520.c:216:19: warning: unused function 'vice_max' [-Wunused-function] static inline int vice_max(int a, int b) ^ mmc64.c:208:32: warning: unused variable 'export_cp_res' [-Wunused-const-variable] static const export_resource_t export_cp_res = { ^ 1 warning generated. silverrock128.c:206:19: warning: unused variable 'bank_val' [-Wunused-const-variable] static const BYTE bank_val[] = {0x00, 0x80, 0x10, 0x90, 0x20, 0xa0, 0x30, 0xb0, 0x40, 0xc0, 0x50, 0xd0, 0x60, 0xe0, 0x70, 0xf0}; ^ In file included from ./../maincpu.c:505: ../../src/6510core.c:2264:17: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] JSR(); ^~~~~ ../../src/6510core.c:1058:22: note: expanded from macro 'JSR' CLK_ADD(CLK, CLK_JSR_INT_CYCLE); \ ^~~~~~~~~~~~~~~~~ c64dtvcpu.c:198:99: note: expanded from macro 'CLK_JSR_INT_CYCLE' #define CLK_JSR_INT_CYCLE (1 - (dtv_registers[9] & 1) + ((dtv_registers[9] & 2) && (reg_pc == 0)) ? 1 : 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ c64dtvcpu.c:129:60: note: expanded from macro 'CLK_ADD' #define CLK_ADD(clock, amount) c64dtvcpu_clock_add(&clock, amount) ^ ../../src/6510core.c:2264:17: note: place parentheses around the '+' expression to silence this warning JSR(); ^~~~~ ../../src/6510core.c:1058:22: note: expanded from macro 'JSR' CLK_ADD(CLK, CLK_JSR_INT_CYCLE); \ ^~~~~~~~~~~~~~~~~ c64dtvcpu.c:198:99: note: expanded from macro 'CLK_JSR_INT_CYCLE' #define CLK_JSR_INT_CYCLE (1 - (dtv_registers[9] & 1) + ((dtv_registers[9] & 2) && (reg_pc == 0)) ? 1 : 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ c64dtvcpu.c:129:60: note: expanded from macro 'CLK_ADD' #define CLK_ADD(clock, amount) c64dtvcpu_clock_add(&clock, amount) ^ ../../src/6510core.c:2264:17: note: place parentheses around the '?:' expression to evaluate it first JSR(); ^~~~~ ../../src/6510core.c:1058:22: note: expanded from macro 'JSR' CLK_ADD(CLK, CLK_JSR_INT_CYCLE); \ ^~~~~~~~~~~~~~~~~ c64dtvcpu.c:198:99: note: expanded from macro 'CLK_JSR_INT_CYCLE' #define CLK_JSR_INT_CYCLE (1 - (dtv_registers[9] & 1) + ((dtv_registers[9] & 2) && (reg_pc == 0)) ? 1 : 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ c64dtvcpu.c:129:60: note: expanded from macro 'CLK_ADD' #define CLK_ADD(clock, amount) c64dtvcpu_clock_add(&clock, amount) ^ ted-badline.c:61:20: warning: unused function 'line_becomes_bad' [-Wunused-function] inline static void line_becomes_bad(int cycle) ^ 1 warning generated. ted-mem.c:875:28: warning: unused function 'read_raster_y' [-Wunused-function] inline static unsigned int read_raster_y(void) ^ uimenu.c:165:65: warning: implicit conversion from enumeration type 'GtkAccelFlags' to different enumeration type 'GdkModifierType' [-Wenum-conversion] gtk_widget_add_accelerator(w, "activate", accel, accel_key, flags, GTK_ACCEL_VISIBLE); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ In file included from info.c:33: ./infocontrib.h:224:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>\n" ^~~~ ./infocontrib.h:274:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Paul Dub<E9> \n" ^~~~ ./infocontrib.h:435:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Frank K<F6>nig <frank_koenig@t-online.de>\n" ^~~~ ./infocontrib.h:465:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Marko M<E4>kel<E4> <msmakela@gmail.com>\n" ^~~~ ~~~~ ./infocontrib.h:499:10: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Lasse <D6><F6>rni <loorni@mail.student.oulu.fi>\n" ^~~~~~~~ ./infocontrib.h:523:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Pablo Rold<E1>n <pdroldan@yahoo.com>\n" ^~~~ ./infocontrib.h:619:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Istv<E1>n F<E1>bi<E1>n\n" ^~~~ ~~~~ ~~~~ ./infocontrib.h:665:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Peternel, Per H<E5>kan Sundell and David Horrocks for writing\n" ^~~~ ./infocontrib.h:704:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "1996-2001", "Andr<E9> Fachat", "Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>" }, ^~~~ ./infocontrib.h:704:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "1996-2001", "Andr<E9> Fachat", "Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>" }, ^~~~ ./infocontrib.h:716:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "2004-2016", "Paul Dub<E9>", "French", "Paul Dub<E9> " }, ^~~~ ./infocontrib.h:716:52: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "2004-2016", "Paul Dub<E9>", "French", "Paul Dub<E9> " }, ^~~~