• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Mangos 3.3.5 This file requires compiler and library support for the ISO C++ 2011 standard.

Blazeqts

Enthusiast
When I compile I get the error:

#error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

So I realize I need to use -std=c++11 with my cmake by using the prefix -DCMAKE_CXX_FLAGS="-std=c++11" however it gives me a bunch of errors. I only need the flags for 1 file not my entire core, which as a result gives me errors with std::strings and such.

I know there's a way to use the c++11 flag only on 1 file, but how do I do it? I'm running on Linux.

Thanks. : )
 

Rochet2

Moderator / Eluna Dev
what mangos are you using exactly? Mangos should now use c++11 on most/all patches.
I think cmangos also uses c++11 but not 100% sure on that..

Just feels a bit weird that you would have this problem if the whole core would need/use it already.
 
Top