Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 06:18:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223538] emulators/visualboyadvance-m 2.0.0b2_4 build error with /usr/local/include/glibmm-2.4 and -Wc++11-extensions
Message-ID:  <bug-223538-13-Q7wo70NH9Z@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223538-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223538-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=3D223538

--- Comment #3 from Chris Hutchinson <portmaster@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=3Dlibc++ -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

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



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