error: unknown warning group '-Wcpp', ignored (#pragma GCC)

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Sat, 25 May 2013 12:09:11 +0200
With CLANG on FreeBSD 10.0-CURRENT r250968, I get this error message in
a source I try to port.

I did not find any suitable "official" workaround and I'd like to avoid
patching all files containing those #pragma statements. Is there a
geenral solution on FreeBSD to overcome this?

error: unknown warning group '-Wcpp', ignored
[-Werror,-Wunknown-pragmas]
#  pragma GCC diagnostic ignored "-Wcpp"


Thanks in advance,
Oliver


Received on Sat May 25 2013 - 08:09:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:38 UTC