1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/graphics/libfpx
Mikhail Teterin e56a4705d5 When WARNS is set in a Makefile even to 1, the flag ``-Wsystem-headers''
is added to the list of compiler's warning-flags. This triggers a
warning like:

/usr/include/c++/4.2/bits/basic_ios.h:156: warning: empty body in an if-statement

in g++42. When this compiler is used, where NO_WERROR is set, the port
fails to build, as warnings are treated as errors. This, pretty much,
means, that NO C++ code can currently be compiled with WARNS set to
anything on FreeBSD.

Work-around the deficiency for now by removing the ``-Wsystem-headers''
from CXXFLAGS after including bsd.lib.mk. This fixes graphics/libfpx on
8.x as well as allows the port to be built by gcc-4.2 on 6.x and 5.x.

Continuously reminded of by:	pav
2008-01-26 23:43:36 +00:00
..
files When WARNS is set in a Makefile even to 1, the flag ``-Wsystem-headers'' 2008-01-26 23:43:36 +00:00
distinfo Add a mega-patch, which makes the library usable. It barely worked on 2007-11-02 12:42:07 +00:00
Makefile Add a mega-patch, which makes the library usable. It barely worked on 2007-11-02 12:42:07 +00:00
pkg-descr
pkg-plist Add a mega-patch, which makes the library usable. It barely worked on 2007-11-02 12:42:07 +00:00