Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2018 18:26:52 -0700
From:      Mark Millard <marklmi26-fbsd@yahoo.com>
To:        imp@FreeBSD.org, svn-src-head@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: svn commit: r335753 - head/sbin/devd [ broke the ci.freebsd.org FreeBSD-head-{mips,mip64,powerpcpowerpc64,powerpcspe,sparc64}-build ]
Message-ID:  <F875D4DE-2DBC-4F93-A891-73A0B659239B@yahoo.com>

next in thread | raw e-mail | index | archive | help
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.)

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F875D4DE-2DBC-4F93-A891-73A0B659239B>