cint/src/dict/gcc4strm.cxx: In function 'int G__G__stream_13_0_9(G__value*, const char*, G__param*, int)': cint/src/dict/gcc4strm.cxx:1052:118: error: 'const class std::basic_ios<char>' has no member named 'operator void*'; did you mean 'operator bool'? G__letint(result7, 89, (long) ((const basic_ios<char,char_traits<char> >*) G__getstructoffset())->operator void*()); ^ gcc6 build log: http://sprunge.us/cWdJ
Adding USE_CXXSTD=gnu++98 won't hide the issue unless the ports learns to respect CXXFLAGS.
Created attachment 184802 [details] Proposed patch The attached patch both fixes the build with GCC 6 by passing -std=gnu++03 as well as teaches the port to respect CFLAGS and CXXFLAGS. The patch should be MFH'ed as well.
A commit references this bug: Author: rakuco Date: Sun Aug 13 11:10:47 UTC 2017 New revision: 447876 URL: https://svnweb.freebsd.org/changeset/ports/447876 Log: Make the port respect CFLAGS and CXXFLAGS. Bump PORTREVISION since this changes the flags the port is built with. This is step 1 towards making the port build with GCC 6. PR: 217008 Approved by: maintainer timeout (fjoe, 16 days) MFH: 2017Q3 Changes: head/lang/cint/Makefile
A commit references this bug: Author: rakuco Date: Sun Aug 13 11:13:00 UTC 2017 New revision: 447877 URL: https://svnweb.freebsd.org/changeset/ports/447877 Log: Explicitly pass -std=gnu++03 to the build. This allows the port to build with GCC 6, which defaults to -std=gnu++14. The port's code does not work with C++11 or later. PR: 217008 Approved by: maintainer timeout (fjoe, 16 days) Changes: head/lang/cint/Makefile
A commit references this bug: Author: rakuco Date: Thu Aug 17 16:01:06 UTC 2017 New revision: 448135 URL: https://svnweb.freebsd.org/changeset/ports/448135 Log: MFH: r447876 Make the port respect CFLAGS and CXXFLAGS. Bump PORTREVISION since this changes the flags the port is built with. This is step 1 towards making the port build with GCC 6. PR: 217008 Approved by: maintainer timeout (fjoe, 16 days) Approved by: ports-secteam (feld) Changes: _U branches/2017Q3/ branches/2017Q3/lang/cint/Makefile
I don't think this should be actually merger quarterly. The issue only presents itself when the default is switched to GCC 6 -- which really does not make sense on a quarterly branch.