Date: Mon, 22 Apr 2019 19:51:59 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Tobias Kortkamp <tobik@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r499648 - head/archivers/libcabinet/files Message-ID: <k1fm-2aio-wny@FreeBSD.org> In-Reply-To: <201904221434.x3MEYFBw046839@repo.freebsd.org> (Tobias Kortkamp's message of "Mon, 22 Apr 2019 14:34:15 %2B0000 (UTC)") References: <201904221434.x3MEYFBw046839@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Tobias Kortkamp <tobik@FreeBSD.org> writes: > Author: tobik > Date: Mon Apr 22 14:34:15 2019 > New Revision: 499648 > URL: https://svnweb.freebsd.org/changeset/ports/499648 > > Log: > archivers/libcabinet: Unbreak build on recent CURRENT > > c++ -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-deprecated -std=c++11 -Wno-c++11-extensions -c bstring.cpp -o bstring.o > In file included from bstring.cpp:16: > ./bstring.h:59:40: error: use of undeclared identifier 'strlwr'; did you mean 'strlen'? > b_string& StrLwr() { if(str != NULL) strlwr(str); return *this; } > ^~~~~~ > strlen > > http://beefy12.nyi.freebsd.org/data/head-amd64-default/p499421_s346424/logs/errors/libcabinet-0.30_2.log > > This is caused by having a CXXSTD with default value of c++11 in > bsd.sys.mk now. Set CXXSTD to gnu++98 explicitly. CXXSTD is nop on FreeBSD < 13 but Clang >= 6 defaults to C++14. The actual issue here is not C++ standard version but GNU extensions. See also https://reviews.freebsd.org/D19895 created my report in https://lists.freebsd.org/pipermail/svn-src-head/2019-April/123993.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?k1fm-2aio-wny>