#pragma GCC diagnostic clear // added to clear all current in file diagnostic over rides. #pragma GCC diagnostic warning clear // Clear all warnings alerations done by diagnostic. #pragma GCC diagnostic error clear // same as above but for error #pragma GCC diagnostic ignored clear //same as above but for ignored end like option as well so they can be stacked. end clears only the 1 back.
This might be a bad idea but here it is just the same. PS sorry could not remember what section pragma's are processed in. -- Summary: #pragma GCC diagnostic expand function. Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: oiaohm at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35376