please don't use #pragma GCC system_header
erack at redhat.com
Thu Nov 14 04:25:01 PST 2013
On Thursday, 2013-11-14 11:25:32 +0100, Michael Stahl wrote:
> better to use "#pragma GCC diagnostic ignored" which does not have bad
> side effects.
So actually the old advice to create a wrapper header for the reason to
disable warnings for an included header is legacy and moot.
I assume that "#pragma GCC diagnostic ignored" can be pushed before and
popped after an #include file to affect only that include, similar to
what "#pragma warning(push, 1)" for _MSC_VER does?
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: not available
More information about the LibreOffice