error: unknown warning group '-Wcpp', ignored (#pragma GCC)
O. Hartmann
ohartman at zedat.fu-berlin.de
Sat May 25 10:09:12 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130525/3c7a9de3/attachment.sig>
More information about the freebsd-current
mailing list