[Bug 223538] emulators/visualboyadvance-m 2.0.0b2_4 build error with /usr/local/include/glibmm-2.4 and -Wc++11-extensions

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 20 06:18:32 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223538

--- Comment #3 from Chris Hutchinson <portmaster at bsdforge.com> ---
Kevin,
Here are some hints that may get you closer to
where you're trying to go...

The following assumes you have made no attempt to
make your port c++11 compliant.

add (at least) the following to USES
compiler:c++11-lang

and (at least) the following to USE_CXXSTD
c++11

and (at least) the following to CXXFLAGS
-stdlib=libc++ -Wc++11-extensions

You have a boat load of warnings, and errors! But
you have been given the hints by the compiler. You
will *likely* need to add most, if not all of them
to the CXXFLAGS line, mentioned above. It's ugly,
and it's dirty. But until the supporting libraries
(headers) are updated. This is as good as it gets.

Good luck!

--Chris

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list