From owner-freebsd-current@freebsd.org Thu Jun 28 01:32:01 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 5345F10257B4 for ; Thu, 28 Jun 2018 01:32:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC8627E4B7 for ; Thu, 28 Jun 2018 01:32:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x230.google.com with SMTP id a195-v6so10322374itd.3 for ; Wed, 27 Jun 2018 18:32:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y171on4PnONujMJUv9CsNTwzepmycb6A/sutI06Ta18=; b=Yg352s6p/ar75J0HMRj+8KEM+HEqitIlOj2A3lZS5FFqdov4wgBcB6/k5/q0g/fIRh gERRvpJ6CxQOGaOW62gs9o11jceQyCw4DA7VL231J64PG2CzymyCDSsxSsDY4ya2GgC7 ocx1R299Ovn4NruxZvoeHiGGJ9rTz2bUyWoEs6mtEFqchJdzMVZpeSVNwg5yHyVOIR+f rSeRx44v7Ohf2N096MKmuZFbbv4UyKlrs/eg+WEVnFeItJ1M7lvQChGVgH4tXwQSIALs efPFF3vF3sC+zgk7DRrMv3lXTv7BxnCQicjLvwr0Bw2E6IMSAPX6xJb0EVXUrnx9TF3u dI6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y171on4PnONujMJUv9CsNTwzepmycb6A/sutI06Ta18=; b=kUBvcIZNvv4eXlv7EcV2kxKQxQiDn4MQyMXEZJJGHseDe1YmR76S1azXwbDWtNYuhK 1xphNmXktAFeedc1sMouSi4z+HshQXR4SHeru7Tjkt00OGrFtmlcADeRb7L+1fBdIh4f TKDIvG9hBopP8xhjwCwVEzJawxcdzbrPqiOq7K86waq0fvPY/7wstt1XgugmnPr3W7xz 74PGvIy0rDLj4RJCXi6tbdv9qYsrjBVXbGuFNEUVBAx9Jyfj23rNeADPGzAcf2dFYGYB zLIPOXtf9YSS+QGTYrAwVNsWgtWvkWZo19DBSEAD5Xh6rQjUjkEhsja+HhtQcV0/uI1V G7bQ== X-Gm-Message-State: APt69E3KcrjndilxmmuXBaqs02sa2wL7uCjH9qJVsopBGnkU3dR/KXGi db6Nqe1G16s3gQaY0ZbecN2ScrxWmKeqe+Ht+jAi7w== X-Google-Smtp-Source: AAOMgpeKCmgMRNkZ9mXptg1SiWGc8W07aCjTzF4hjtvpd/J//AgjzDzkt6YWm0QyqiRvtBHzG3jN7hHfgpcivLHdTu4= X-Received: by 2002:a02:6001:: with SMTP id i1-v6mr7148513jac.5.1530149520126; Wed, 27 Jun 2018 18:32:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Wed, 27 Jun 2018 19:31:36 -0600 Message-ID: Subject: Re: svn commit: r335753 - head/sbin/devd [ broke the ci.freebsd.org FreeBSD-head-{mips,mip64,powerpcpowerpc64,powerpcspe,sparc64}-build ] To: Mark Millard Cc: Warner Losh , svn-src-head@freebsd.org, FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 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 01:32:01 -0000 On Wed, Jun 27, 2018, 7:27 PM Mark Millard wrote: > These are the gcc/g++ 4.2.1 based targets. > > For example . . . > > https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build/6261/consoleText > > --- 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 --- > > > The following is modern C++ syntax that is being rejected: > > . . . > for (const char &c : s) { > . . . > > (At least if I understand right.) > C++11 I thought was required. If not. That the issue. Warner > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > >