From owner-svn-src-head@freebsd.org Thu Jun 28 01:32:01 2018 Return-Path: Delivered-To: svn-src-head@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 50D2610257B3 for ; Thu, 28 Jun 2018 01:32:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (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 D6F187E4B6 for ; Thu, 28 Jun 2018 01:32:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x236.google.com with SMTP id 76-v6so10322664itx.4 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=sLQna5Y2jlLtq3RM5vhbIuv4CfX/BZr9McH6qWz0t4yHTOzNAa/ImdSRlRdlyCk5Oz Wrp3WY5RLG6ynecAFwlEpE5Kfjok+PfF705qsJbXGLSSCv3euQTafu1Z2ZQF/lJ/XqtJ w86XvmSy0nMAeANfx649Y2crBpcblzWjrCgctqHjrzzoDHt4TwbbD39Bhu0sxBSpdwh0 QF4752YXy1LOzl1wuo61Zgsxcl+RDhUR7JctSRagAkHL/WWWfSJ/WoDF+QvDSto9Flq/ MHFORzKpuYfDk+jTUqgYpEHLC3bAOlZqJM+NiKvixcRoVLK/mF3wSoMKK4DNOTudiKe+ SYuQ== X-Gm-Message-State: APt69E3OJvw40orOWaVF9HgjR18RV1j2TiDsy74Jvc5KkZoeKMVvtPKd b1LgQ3ypVga6zGukqhmljPFv0ZYJBj6484XXQR2p9w== 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: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-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) > >