error: unknown warning group '-Wcpp', ignored (#pragma GCC)
--=-axFgSgbzKWsgjMSq0OZ1
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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
--=-axFgSgbzKWsgjMSq0OZ1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (FreeBSD)
iQEcBAABAgAGBQJRoI3HAAoJEOgBcD7A/5N8RBkIAMUaxonRePf8p1NcBO6M8+iK
BfGPJ26bYvWZe3g0Txqz9/ezzIzVwuzVper9I4WNVNQ0C7f11hNcb5Dh7St1ZgJn
lvdVt89rw56fCtN4U9Dk4c0Qx9dV9ZOdBVk1TSuFml0reaPrnJDSWpVCrRC83fa/
BT2NS5qnE573tU0j4HH14YbLcWuVjLDG4c4sGCOUoc0XGuBVo/UUlSrKNsS2q238
GfBodGqSZRa3y27T1jIsaS325MdNKH9x8AyLYSDdBPP8URKBZkpFXGlhuPopl7Qi
hhls52K3ogmAYcjctP6EkTUDfNuJGf8urc8S2+BDx9yzdBUub6Zkzw3iJpxFa4Q=
=x1TJ
-----END PGP SIGNATURE-----
--=-axFgSgbzKWsgjMSq0OZ1--
討論串 (同標題文章)
完整討論串 (本文為第 2 之 3 篇):