[Bug 219484] cad/openvsp: Fails to build with lang/gcc6 or later on 10.3 (< 11.0)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 28 12:05:32 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219484
Raphael Kubo da Costa <rakuco at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakuco at FreeBSD.org
--- Comment #17 from Raphael Kubo da Costa <rakuco at FreeBSD.org> ---
(In reply to fernando.apesteguia from comment #16)
>> Is this patch acceptable?
>
> .if ${OSVERSION} < 1100000
Note that you generally want to choose a more specific version that corresponds
more closely to the commit that imported the libc++ version with the new
overloads.
In any case, I think you can simplify the patch by just setting
USE_CXXSTD=gnu++11 -- GCC 6 builds with -std=gnu++14 by default, and the new
overloads were added in C++14. Since you only need C++11 to build the code you
can use an older standard. I've done that here and the port built fine on
10.3-i386 with GCC 6.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list