Skip to content

Instantly share code, notes, and snippets.

@z33ky
z33ky / gist:8baf347a09a69acdb58e88a6dbd826d2
Created January 7, 2022 14:14
samisalreadytaken/vgui_script gcc build errors
/mnt/data/code/games/srcmods/mapbase/sp/src/game/client/mapbase/vscript_vgui.cpp: In function ‘void vgui_spew_fonts_script(const CCommand&)’:
/mnt/data/code/games/srcmods/mapbase/sp/src/game/client/mapbase/vscript_vgui.cpp:112:22: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
112 | Msg( " %2d: HFont:0x%8.8x, %s, %s, font:%s, tall:%d(%d)\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | i,
114 | data.font,
| ~~~~~~~~~
| |
| long unsigned int
/mnt/data/code/games/srcmods/mapbase/sp/src/game/client/mapbase/vscript_vgui.cpp: In member function ‘void IScript_Panel<T>::MakeReadyForUse()’: