5 ms·
You can enable/disable warnings in gcc on a line-by-line basis using pragmas: https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas http
by warkdarrior 9y ago
You can enable/disable warnings in gcc on a line-by-line basis using pragmas:
https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html#D...
- usernam 9y agoI mentioned that. However, push/pop statements require a minimum of 3 lines of pragmas to suppress an unused statement. This doesn't work, you'll end up disabling warnings for entire functions.