Date: Thu, 20 Dec 2007 00:26:44 -0500 From: "Aryeh M. Friedman" <aryeh.friedman@gmail.com> To: Mikhail Teterin <mi+mill@aldan.algebra.com> Cc: current@freebsd.org Subject: Re: WARNS=3 and C++ on 8.x Message-ID: <4769FD14.4080301@gmail.com> In-Reply-To: <200712191949.43414.mi%2Bmill@aldan.algebra.com> References: <200712191949.43414.mi%2Bmill@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mikhail Teterin wrote: > Hello! > > The graphics/libfpx port can not currently be built on 8.x, because the > WARNS=3, which is set in files/Makefile.bsd triggers -Wsystem-headers. > > That setting triggers the following warning: > > In file included from /usr/include/c++/4.2/ios:50, > from /usr/include/c++/4.2/ostream:45, > from /usr/include/c++/4.2/iostream:45, > from /work/a/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp:20: > /usr/include/c++/4.2/bits/basic_ios.h: In member function 'void std::basic_ios<_CharT, _Traits>::_M_setstate(std::_Ios_Iostate)': > /usr/include/c++/4.2/bits/basic_ios.h:156: warning: empty body in an if-statement > > The port builds fine on 7.x and 6.x. Could the 8.x, please, be fixed? > I mean, the setting, pretty much, assures, that ALL C++ software can't > be built (with WARNS=3, that is), because almost everything uses iostream. Did you try commenting out the last line of the Makefile? - -- Aryeh M. Friedman FloSoft Systems http://www.flosoft-systems.com Developer, not business, friendly -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaf0UzIOMjAek4JIRAis0AJ0fFmv5aKkyoQKO57LkKT9fSH+ZeQCggIfb U8yBKq7xSnOA+WXUxbFriB4= =510y -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4769FD14.4080301>