Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2016 07:25:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211134] Mk/Uses/compiler.mk: Needs to add --std=c++11 to CXXFLAGS
Message-ID:  <bug-211134-13-OZNmbkQQtn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211134-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211134-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211134

--- Comment #2 from yuri@rawbw.com ---
Removing CXXFLAGS in devel/jsoncpp and adding USE_CXXSTD=3Dc++11 causes it =
to
fail on 9.X:
> cc1plus: error: unrecognized command line option "-std=3Dc++11"

So USE_CXXSTD fails to supply the right option in case of gcc.

Actually, I don't see why there should be the separate USE_CXXSTD. I think =
it
should be merged into Uses/compiler.mk.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211134-13-OZNmbkQQtn>