From owner-freebsd-current@FreeBSD.ORG Thu Dec 20 01:16:26 2007 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AB3916A420 for ; Thu, 20 Dec 2007 01:16:26 +0000 (UTC) (envelope-from mi+mill@aldan.algebra.com) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 5F60C13C4CC for ; Thu, 20 Dec 2007 01:16:25 +0000 (UTC) (envelope-from mi+mill@aldan.algebra.com) Received: (qmail 16922 invoked from network); 20 Dec 2007 00:49:44 -0000 Received: from aldan.algebra.com (HELO aldan-mlp) ([216.254.65.224]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Dec 2007 00:49:44 -0000 From: Mikhail Teterin To: current@freebsd.org Date: Wed, 19 Dec 2007 19:49:43 -0500 User-Agent: KMail/1.7.1 Organization: Virtual Estates, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712191949.43414.mi+mill@aldan.algebra.com> X-Mailman-Approved-At: Thu, 20 Dec 2007 04:57:02 +0000 Cc: Subject: WARNS=3 and C++ on 8.x X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 01:16:26 -0000 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. Thanks! -mi