From owner-freebsd-toolchain@freebsd.org Sat Feb 27 10:30:19 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8C73AB686E for ; Sat, 27 Feb 2016 10:30:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 991441517 for ; Sat, 27 Feb 2016 10:30:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1RAUJDu077132 for ; Sat, 27 Feb 2016 10:30:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 207253] cad/openvsp: Fix in 11-CURRENT Date: Sat, 27 Feb 2016 10:30:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy, patch, patch-ready X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fernando.apesteguia@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rakuco@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 10:30:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207253 --- Comment #30 from fernando.apesteguia@gmail.com --- (In reply to Raphael Kubo da Costa from comment #29) I reported the problem upstream. At least to me, the response was a bit unexpected: libc++ doesn't support compiling c++98 programs that don't comp= ile also as c++11 programs: https://llvm.org/bugs/show_bug.cgi?id=3D26754 Than means that the any legacy program using a type as array, forward_list = and probably a few more will clash with the ones in the std namespace for c++11= in libc++. At least, we should reflect this fact in the documentation: https://www.freebsd.org/doc/en/books/porters-handbook/book.html#uses-compil= er and maybe add a new knob in "USES=3D compiler:..." for cases like this. Apparently GNU's C++ library is doing the right thing: they don't let c++11 names leak into std namespace unless c++11 standard is explicitly specified. --=20 You are receiving this mail because: You are on the CC list for the bug.=