Created attachment 2838[details]
Adds more __attribute__ to ioq3 and fix most new warnings.
Patch adds more GCC __attribute__ to ioq3. I fixed most of the new warnings, but it still gives warnings for two unused functions (Sys_Warn and PC_SourceWarning).
Created attachment 2839[details]
Adds more __attribute__ to ioq3 and fix most new warnings.
Added __attribute__ ((noreturn)) to Com_Error, CG_Error, G_Error, trap_Error, and displayContextDef_t::Error.
Comment on attachment 2839[details]
Adds more __attribute__ to ioq3 and fix most new warnings.
Com_Error can return in rare cases... Switching back to my original patch.
Created attachment 2499 [details] Add various __attribute__ annotations
Created attachment 2500 [details] Fixers various warnings, mostly shown up by the annotations patch.
Created attachment 2501 [details] Fixes various warnings, mostly shown up by the annotations patch %p is wrong; "nil" may occur (with glibc).
Created attachment 2838 [details] Adds more __attribute__ to ioq3 and fix most new warnings. Patch adds more GCC __attribute__ to ioq3. I fixed most of the new warnings, but it still gives warnings for two unused functions (Sys_Warn and PC_SourceWarning).
Created attachment 2839 [details] Adds more __attribute__ to ioq3 and fix most new warnings. Added __attribute__ ((noreturn)) to Com_Error, CG_Error, G_Error, trap_Error, and displayContextDef_t::Error.
Comment on attachment 2839 [details] Adds more __attribute__ to ioq3 and fix most new warnings. Com_Error can return in rare cases... Switching back to my original patch.
Comment on attachment 2838 [details] Adds more __attribute__ to ioq3 and fix most new warnings. Un-obsolete my original patch.