Re: Error compiling from source

Mathias Gumz <[email protected]> Wed, 26 Oct 2016 15:42:29 +0200
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <CAD=gWLwo3yn46P_ocyHAPweo23Su0eEEkEL8q0yqaLW_LxCGuw@mail.gmail.com>
On Wed, Oct 26, 2016 at 3:17 PM, Thomas Lübking
<[email protected]> wrote:
> On Wed, Oct 26, 2016 at 03:01:27AM -0500, Jj wrote:
>>I added the following flag to move forward:
>>http://stackoverflow.com/a/9766614/43490 but then ran into the
>>CONFIG_VERSION error mentioned above
>
> Please attach the generated src/defaults.hh and in any case use "-std=c++11"
>
>
> @Mathias, c++14 is default since 6.0, before it was c++98, so if there's
> no explicit call for c++11, we'll need to require gcc 6.0 or pass
> -std=c++11 explicitly - but I've no overview about the makefile system.

I am thinking about
https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html

This should detect the current compiler and "do the right thing".
Adding the --std=c++11 is kind of ... shitty.

Cheers,
-- 
[uid] mathias gumz [www] http://www.fluxbox.org/
[pgp] 1024D/F6F6B18C [irc] ak|ra at freenode.org

------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Fluxbox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fluxbox-users