From owner-freebsd-current@freebsd.org Thu Jun 28 02:10:53 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8F391029D61 for ; Thu, 28 Jun 2018 02:10:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7395A80BA2 for ; Thu, 28 Jun 2018 02:10:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 8VrzPN0VM1loPUwCfchFZcUtNsBX3xCvKYGVHcuQBzt9ElOyzwcdOUW8rvDyvs6 xL9p0QiP_H1z5QZ5sp7LwEte70GGB2W7G35qNmyJyU4JiXZ81wodCpKH9iwMLA1nq3kD8IK_Mrct P..PRxLeHBgcILA6qMhgVVaZzYlwgNinBZ.ZlVvuwVY3U6qBSpwrQtuA6nEZyJaN9fFfOtRcgVCp aFpk1dnroPokzBITkZ5tv4fXRxIv1C6l2.50EyHF64RIhyIEjO4bBVEu5dQuewzoWMDGHS5MStDM UI.zzXynR0C.D7CVfP3ziORdAjVF32qASxTT7MdTH6seP_pjd0KzBrMz3dK2oCac1F8lU47IUvof n7SYHDWfu1KGrmrcFc91qd1m5bEaiDuLwUKaibyjgc1GPxX5bFQktiYaCNUW3XzKE_RdE4N1LmA8 dE.L0RTkHf5lN3cUHoT_zYJQPIzTg5iQlxHTVfLOSA6Yq3E9Q6yWfONeT4fRlIKrgHWM2Ed59.am X9oW3fa3PYclxBBhM8J5T.KOXn33MdouUZyX0pwOvuiXgrjaUjwqcKgXYqVDLQKWQE0nUqWq8zUL oFEBMZp6fWikhD_xwkhMU2fZwlxxqNFmYGchutDiqxuhPTvMpQt0SEo.p2OrIVNMRLXWydyFhZYc iQ1TPrmZhVBwLxvJdW8u._bD2V_Ekty90UhRpeeIpQLHq47ymaShNtOa9kIDRdj32KMj84tWgoYA MKrx19PHCh6bsFNll7niHA7OAedQelZcrLumyz5ZKdVDL0BPFGBUhjgAHV3ECF1Lc8Pc8aLuKnuS EMJNcotaSj0_CR.CdE9zPp6ku1ZAu0ZuldMRY9Cva.osfftB.rwdDx6TouEf_rx2J4PHcllvdZoe AAcWCsXmvVNgRtgclUHsc7lfi56S7SaGRF48od5vFPvFbq3kEAdPOLUmWmz3q632qP4kxjmCI.YA Z9H89keD38jU8I2QUKan5AIqelyid Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Thu, 28 Jun 2018 02:10:51 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp427.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 512eccaaade6fd164f4aed6a55c6334b; Thu, 28 Jun 2018 01:40:28 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: svn commit: r335753 - head/sbin/devd [ broke the ci.freebsd.org FreeBSD-head-{mips,mip64,powerpcpowerpc64,powerpcspe,sparc64}-build ] From: Mark Millard In-Reply-To: Date: Wed, 27 Jun 2018 18:40:27 -0700 Cc: svn-src-head@freebsd.org, FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <5DCB8E46-964D-4590-B1B8-31523D6834BE@yahoo.com> References: To: Warner Losh X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 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, 28 Jun 2018 02:10:53 -0000 [I used the wrong Email address the first time.] On 2018-Jun-27, at 6:31 PM, Warner Losh wrote: >=20 >=20 >=20 > On Wed, Jun 27, 2018, 7:27 PM Mark Millard = wrote: > These are the gcc/g++ 4.2.1 based targets. >=20 > For example . . . >=20 > = https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build/6261/consoleText >=20 > --- all_subdir_sbin/devd --- > /usr/src/sbin/devd/devd.cc: In member function 'std::string = config::shell_quote(const std::string&)': > /usr/src/sbin/devd/devd.cc:652: error: a function-definition is not = allowed here before ':' token > /usr/src/sbin/devd/devd.cc:1327: error: expected primary-expression at = end of input > /usr/src/sbin/devd/devd.cc:1327: error: expected `;' at end of input > /usr/src/sbin/devd/devd.cc:1327: error: expected primary-expression at = end of input > /usr/src/sbin/devd/devd.cc:1327: error: expected `)' at end of input > /usr/src/sbin/devd/devd.cc:1327: error: expected statement at end of = input > /usr/src/sbin/devd/devd.cc:1327: error: expected `}' at end of input > --- all_subdir_kerberos5 --- >=20 >=20 > The following is modern C++ syntax that is being rejected: >=20 > . . . > for (const char &c : s) { > . . . >=20 > (At least if I understand right.) >=20 > C++11 I thought was required. If not. That the issue.=20 Looking at "C++11 Support in GCC" in: https://gcc.gnu.org/projects/cxx-status.html shows almost nothing is supported prior to gcc 4.3 . Some things require gcc 4.8.1 . As for "Range-based for": it requires gcc 4.6 . The SD-6 feature test listed is: __cpp_range_based_for >=3D 200907 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)