* Package: games-puzzle/mirrormagic-2.0.2-r2 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mirrormagic-2.0.2.tar.gz to /var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/work >>> Source unpacked in /var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/work >>> Preparing source in /var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/work/mirrormagic-2.0.2 ... * Applying mirrormagic-2.0.2-gcc41.patch ... [ ok ] * Applying mirrormagic-2.0.2-parallel.patch ... [ ok ] * Applying mirrormagic-2.0.2-64bit.patch ... [ ok ] * Applying mirrormagic-2.0.2-gcc5.patch ... [ ok ] * Applying mirrormagic-2.0.2-editor.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/work/mirrormagic-2.0.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/work/mirrormagic-2.0.2 ... make -j1 -C src CC=x86_64-pc-linux-gnu-gcc AR=x86_64-pc-linux-gnu-ar RANLIB=x86_64-pc-linux-gnu-ranlib 'OPTIONS=-O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security' 'EXTRA_LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' RO_GAME_DIR=/usr/share/mirrormagic RW_GAME_DIR=/var/mirrormagic TARGET=x11 make: Entering directory '/var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/work/mirrormagic-2.0.2/src' make[1]: Entering directory '/var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/work/mirrormagic-2.0.2/src/libgame' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c system.c In file included from system.c:25: misc.h:141:20: warning: inline function ‘swap_number_pairs’ declared but never defined 141 | extern inline void swap_number_pairs(int *, int *, int *, int *); | ^~~~~~~~~~~~~~~~~ misc.h:140:20: warning: inline function ‘swap_numbers’ declared but never defined 140 | extern inline void swap_numbers(int *, int *); | ^~~~~~~~~~~~ In file included from system.h:27, from system.c:23: x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c gadgets.c In file included from gadgets.c:19: misc.h:141:20: warning: inline function ‘swap_number_pairs’ declared but never defined 141 | extern inline void swap_number_pairs(int *, int *, int *, int *); | ^~~~~~~~~~~~~~~~~ misc.h:140:20: warning: inline function ‘swap_numbers’ declared but never defined 140 | extern inline void swap_numbers(int *, int *); | ^~~~~~~~~~~~ In file included from gadgets.h:17, from gadgets.c:17: system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from system.h:27, from gadgets.h:17, from gadgets.c:17: x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c text.c In file included from text.h:17, from text.c:17: system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from system.h:27, from text.h:17, from text.c:17: x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c sound.c In file included from sound.c:23: misc.h:141:20: warning: inline function ‘swap_number_pairs’ declared but never defined 141 | extern inline void swap_number_pairs(int *, int *, int *, int *); | ^~~~~~~~~~~~~~~~~ misc.h:140:20: warning: inline function ‘swap_numbers’ declared but never defined 140 | extern inline void swap_numbers(int *, int *); | ^~~~~~~~~~~~ In file included from sound.c:21: system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from system.h:27, from sound.c:21: x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ sound.c: In function ‘SoundServer’: sound.c:395:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 395 | write(audio.device_fd, playing_buffer, fragment_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c pcx.c In file included from pcx.c:19: misc.h:141:20: warning: inline function ‘swap_number_pairs’ declared but never defined 141 | extern inline void swap_number_pairs(int *, int *, int *, int *); | ^~~~~~~~~~~~~~~~~ misc.h:140:20: warning: inline function ‘swap_numbers’ declared but never defined 140 | extern inline void swap_numbers(int *, int *); | ^~~~~~~~~~~~ In file included from pcx.h:17, from pcx.c:18: system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from system.h:27, from pcx.h:17, from pcx.c:18: x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c image.c In file included from image.c:16: misc.h:141:20: warning: inline function ‘swap_number_pairs’ declared but never defined 141 | extern inline void swap_number_pairs(int *, int *, int *, int *); | ^~~~~~~~~~~~~~~~~ misc.h:140:20: warning: inline function ‘swap_numbers’ declared but never defined 140 | extern inline void swap_numbers(int *, int *); | ^~~~~~~~~~~~ In file included from image.h:17, from image.c:14: system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from system.h:27, from image.h:17, from image.c:14: x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c random.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c misc.c In file included from misc.h:20, from misc.c:30: system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from system.h:27, from misc.h:20, from misc.c:30: x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ misc.c: In function ‘getFileChunk’: misc.c:710:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 710 | fgets(chunk_name, chunk_name_length + 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c msdos.c In file included from msdos.c:14: system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from system.h:27, from msdos.c:14: x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c x11.c In file included from x11.c:16: misc.h:141:20: warning: inline function ‘swap_number_pairs’ declared but never defined 141 | extern inline void swap_number_pairs(int *, int *, int *, int *); | ^~~~~~~~~~~~~~~~~ misc.h:140:20: warning: inline function ‘swap_numbers’ declared but never defined 140 | extern inline void swap_numbers(int *, int *); | ^~~~~~~~~~~~ In file included from x11.c:14: system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c sdl.c In file included from sdl.c:16: misc.h:141:20: warning: inline function ‘swap_number_pairs’ declared but never defined 141 | extern inline void swap_number_pairs(int *, int *, int *, int *); | ^~~~~~~~~~~~~~~~~ misc.h:140:20: warning: inline function ‘swap_numbers’ declared but never defined 140 | extern inline void swap_numbers(int *, int *); | ^~~~~~~~~~~~ In file included from sdl.c:14: system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from system.h:27, from sdl.c:14: x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-ar cru libgame.a system.o gadgets.o text.o sound.o pcx.o image.o random.o misc.o msdos.o x11.o sdl.o x86_64-pc-linux-gnu-ranlib libgame.a make[1]: Leaving directory '/var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/work/mirrormagic-2.0.2/src/libgame' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c main.c In file included from libgame/libgame.h:28, from main.c:14: libgame/misc.h:141:20: warning: inline function ‘swap_number_pairs’ declared but never defined 141 | extern inline void swap_number_pairs(int *, int *, int *, int *); | ^~~~~~~~~~~~~~~~~ libgame/misc.h:140:20: warning: inline function ‘swap_numbers’ declared but never defined 140 | extern inline void swap_numbers(int *, int *); | ^~~~~~~~~~~~ In file included from libgame/libgame.h:21, from main.c:14: libgame/system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ libgame/system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ libgame/system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ libgame/system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ libgame/system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ libgame/system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ libgame/system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ libgame/system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ libgame/system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ libgame/system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ libgame/system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ libgame/system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ libgame/system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ libgame/system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ libgame/system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ libgame/system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ libgame/system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ libgame/system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ libgame/system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ libgame/system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ libgame/system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ libgame/system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ libgame/system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ libgame/system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ libgame/system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ libgame/system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ libgame/system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ libgame/system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ libgame/system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ libgame/system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ libgame/system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from libgame/system.h:27, from libgame/libgame.h:21, from main.c:14: libgame/x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ libgame/x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c init.c In file included from libgame/libgame.h:28, from init.c:16: libgame/misc.h:141:20: warning: inline function ‘swap_number_pairs’ declared but never defined 141 | extern inline void swap_number_pairs(int *, int *, int *, int *); | ^~~~~~~~~~~~~~~~~ libgame/misc.h:140:20: warning: inline function ‘swap_numbers’ declared but never defined 140 | extern inline void swap_numbers(int *, int *); | ^~~~~~~~~~~~ In file included from libgame/libgame.h:21, from init.c:16: libgame/system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ libgame/system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ libgame/system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ libgame/system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ libgame/system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ libgame/system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ libgame/system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ libgame/system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ libgame/system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ libgame/system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ libgame/system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ libgame/system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ libgame/system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ libgame/system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ libgame/system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ libgame/system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ libgame/system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ libgame/system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ libgame/system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ libgame/system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ libgame/system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ libgame/system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ libgame/system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ libgame/system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ libgame/system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ libgame/system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ libgame/system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ libgame/system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ libgame/system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ libgame/system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ libgame/system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from libgame/system.h:27, from libgame/libgame.h:21, from init.c:16: libgame/x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ libgame/x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c events.c In file included from libgame/libgame.h:28, from events.c:14: libgame/misc.h:141:20: warning: inline function ‘swap_number_pairs’ declared but never defined 141 | extern inline void swap_number_pairs(int *, int *, int *, int *); | ^~~~~~~~~~~~~~~~~ libgame/misc.h:140:20: warning: inline function ‘swap_numbers’ declared but never defined 140 | extern inline void swap_numbers(int *, int *); | ^~~~~~~~~~~~ In file included from libgame/libgame.h:21, from events.c:14: libgame/system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ libgame/system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ libgame/system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ libgame/system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ libgame/system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ libgame/system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ libgame/system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ libgame/system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ libgame/system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ libgame/system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ libgame/system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ libgame/system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ libgame/system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ libgame/system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ libgame/system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ libgame/system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ libgame/system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ libgame/system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ libgame/system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ libgame/system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ libgame/system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ libgame/system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ libgame/system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ libgame/system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ libgame/system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ libgame/system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ libgame/system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ libgame/system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ libgame/system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ libgame/system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ libgame/system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from libgame/system.h:27, from libgame/libgame.h:21, from events.c:14: libgame/x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ libgame/x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -DTARGET_X11 -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -DRW_GAME_DIR="\"/var/mirrormagic\"" -c tools.c tools.c: In function ‘Request’: tools.c:1205:5: error: format not a string literal and no format arguments [-Werror=format-security] 1205 | sprintf(txt, text); | ^~~~~~~ In file included from libgame/libgame.h:28, from tools.c:20: tools.c: At top level: libgame/misc.h:141:20: warning: inline function ‘swap_number_pairs’ declared but never defined 141 | extern inline void swap_number_pairs(int *, int *, int *, int *); | ^~~~~~~~~~~~~~~~~ libgame/misc.h:140:20: warning: inline function ‘swap_numbers’ declared but never defined 140 | extern inline void swap_numbers(int *, int *); | ^~~~~~~~~~~~ In file included from libgame/libgame.h:21, from tools.c:20: libgame/system.h:316:23: warning: inline function ‘CheckCloseWindowEvent’ declared but never defined 316 | extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); | ^~~~~~~~~~~~~~~~~~~~~ libgame/system.h:315:19: warning: inline function ‘GetEventKey’ declared but never defined 315 | extern inline Key GetEventKey(KeyEvent *, boolean); | ^~~~~~~~~~~ libgame/system.h:314:20: warning: inline function ‘NextEvent’ declared but never defined 314 | extern inline void NextEvent(Event *event); | ^~~~~~~~~ libgame/system.h:313:23: warning: inline function ‘PendingEvent’ declared but never defined 313 | extern inline boolean PendingEvent(void); | ^~~~~~~~~~~~ libgame/system.h:312:20: warning: inline function ‘InitEventFilter’ declared but never defined 312 | extern inline void InitEventFilter(EventFilter); | ^~~~~~~~~~~~~~~ libgame/system.h:310:20: warning: inline function ‘SetAudioMode’ declared but never defined 310 | extern inline void SetAudioMode(boolean); | ^~~~~~~~~~~~ libgame/system.h:309:20: warning: inline function ‘CloseAudio’ declared but never defined 309 | extern inline void CloseAudio(void); | ^~~~~~~~~~ libgame/system.h:308:20: warning: inline function ‘OpenAudio’ declared but never defined 308 | extern inline void OpenAudio(void); | ^~~~~~~~~ libgame/system.h:304:23: warning: inline function ‘ChangeVideoModeIfNeeded’ declared but never defined 304 | extern inline boolean ChangeVideoModeIfNeeded(boolean); | ^~~~~~~~~~~~~~~~~~~~~~~ libgame/system.h:303:23: warning: inline function ‘SetVideoMode’ declared but never defined 303 | extern inline boolean SetVideoMode(boolean); | ^~~~~~~~~~~~ libgame/system.h:302:23: warning: inline function ‘PointerInWindow’ declared but never defined 302 | extern inline boolean PointerInWindow(DrawWindow *); | ^~~~~~~~~~~~~~~ libgame/system.h:301:20: warning: inline function ‘KeyboardAutoRepeatOff’ declared but never defined 301 | extern inline void KeyboardAutoRepeatOff(void); | ^~~~~~~~~~~~~~~~~~~~~ libgame/system.h:300:20: warning: inline function ‘KeyboardAutoRepeatOn’ declared but never defined 300 | extern inline void KeyboardAutoRepeatOn(void); | ^~~~~~~~~~~~~~~~~~~~ libgame/system.h:299:20: warning: inline function ‘SyncDisplay’ declared but never defined 299 | extern inline void SyncDisplay(void); | ^~~~~~~~~~~ libgame/system.h:298:20: warning: inline function ‘FlushDisplay’ declared but never defined 298 | extern inline void FlushDisplay(void); | ^~~~~~~~~~~~ libgame/system.h:296:21: warning: inline function ‘GetPixelFromRGBcompact’ declared but never defined 296 | extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); | ^~~~~~~~~~~~~~~~~~~~~~ libgame/system.h:295:21: warning: inline function ‘GetPixelFromRGB’ declared but never defined 295 | extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); | ^~~~~~~~~~~~~~~ libgame/system.h:294:21: warning: inline function ‘GetPixel’ declared but never defined 294 | extern inline Pixel GetPixel(Bitmap *, int, int); | ^~~~~~~~ libgame/system.h:293:20: warning: inline function ‘DrawLines’ declared but never defined 293 | extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); | ^~~~~~~~~ libgame/system.h:292:20: warning: inline function ‘DrawSimpleWhiteLine’ declared but never defined 292 | extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~~~~~~ libgame/system.h:291:20: warning: inline function ‘BlitBitmapMasked’ declared but never defined 291 | extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~~~~~~~ libgame/system.h:290:20: warning: inline function ‘SetClipOrigin’ declared but never defined 290 | extern inline void SetClipOrigin(Bitmap *, GC, int, int); | ^~~~~~~~~~~~~ libgame/system.h:289:20: warning: inline function ‘SetClipMask’ declared but never defined 289 | extern inline void SetClipMask(Bitmap *, GC, Pixmap); | ^~~~~~~~~~~ libgame/system.h:288:20: warning: inline function ‘ClearRectangle’ declared but never defined 288 | extern inline void ClearRectangle(Bitmap *, int, int, int, int); | ^~~~~~~~~~~~~~ libgame/system.h:287:20: warning: inline function ‘BlitBitmap’ declared but never defined 287 | extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); | ^~~~~~~~~~ libgame/system.h:286:20: warning: inline function ‘FreeBitmap’ declared but never defined 286 | extern inline void FreeBitmap(Bitmap *); | ^~~~~~~~~~ libgame/system.h:285:23: warning: inline function ‘CreateBitmap’ declared but never defined 285 | extern inline Bitmap *CreateBitmap(int, int, int); | ^~~~~~~~~~~~ libgame/system.h:284:23: warning: inline function ‘CreateBitmapStruct’ declared but never defined 284 | extern inline Bitmap *CreateBitmapStruct(void); | ^~~~~~~~~~~~~~~~~~ libgame/system.h:283:20: warning: inline function ‘InitVideoBuffer’ declared but never defined 283 | extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); | ^~~~~~~~~~~~~~~ libgame/system.h:282:20: warning: inline function ‘CloseVideoDisplay’ declared but never defined 282 | extern inline void CloseVideoDisplay(void); | ^~~~~~~~~~~~~~~~~ libgame/system.h:281:20: warning: inline function ‘InitVideoDisplay’ declared but never defined 281 | extern inline void InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~ In file included from libgame/system.h:27, from libgame/libgame.h:21, from tools.c:20: libgame/x11.h:290:20: warning: inline function ‘X11InitVideoBuffer’ declared but never defined 290 | extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); | ^~~~~~~~~~~~~~~~~~ libgame/x11.h:289:20: warning: inline function ‘X11InitVideoDisplay’ declared but never defined 289 | extern inline void X11InitVideoDisplay(void); | ^~~~~~~~~~~~~~~~~~~ tools.c: In function ‘BackToFront’: tools.c:172:28: warning: ‘%s’ directive writing up to 99 bytes into a region of size between 0 and 93 [-Wformat-overflow=] 172 | sprintf(text, "%.1f fps%s", global.frames_per_second, info1); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from libgame/misc.h:18, from libgame/libgame.h:28, from tools.c:20: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 8 and 416 bytes into a destination of size 100 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make: *** [Makefile:164: tools.o] Error 1 make: Leaving directory '/var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/work/mirrormagic-2.0.2/src' * ERROR: games-puzzle/mirrormagic-2.0.2-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-puzzle/mirrormagic-2.0.2-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-puzzle/mirrormagic-2.0.2-r2::gentoo'`. * The complete build log is located at '/var/log/portage/games-puzzle:mirrormagic-2.0.2-r2:20200325-092036.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/work/mirrormagic-2.0.2' * S: '/var/tmp/portage/games-puzzle/mirrormagic-2.0.2-r2/work/mirrormagic-2.0.2'