• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux ISO C++ 2011 standard

Calon

Experienced Member
Joined
Feb 6, 2009
Messages
1,070
Reaction score
21
Hello, im facing a kid of problem with compiler seems weird for me, anyone got idea for following ?



make all-am
make[1]: Entering directory `/home/ot/sources'
CXX actions.o
CXX allocator.o
CXX baseevents.o
CXX beds.o
CXX chat.o
In file included from /usr/include/c++/4.7/chrono:35:0,
from otsystem.h:58,
from luascript.h:20,
from configmanager.h:20,
from otpch.h:40,
from allocator.cpp:17:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: 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.
In file included from /usr/include/c++/4.7/chrono:35:0,
from otsystem.h:58,
from luascript.h:20,
from configmanager.h:20,
from otpch.h:40,
from beds.cpp:17:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: 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.
In file included from /usr/include/c++/4.7/chrono:35:0,
from otsystem.h:58,
from luascript.h:20,
from configmanager.h:20,
from otpch.h:40,
from chat.cpp:17:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: 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.
In file included from /usr/include/c++/4.7/chrono:35:0,
from otsystem.h:58,
from luascript.h:20,
from configmanager.h:20,
from otpch.h:40,
from actions.cpp:17:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: 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.
In file included from /usr/include/c++/4.7/chrono:35:0,
from otsystem.h:58,
from luascript.h:20,
from configmanager.h:20,
from otpch.h:40,
from baseevents.cpp:17:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: 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.
make[1]: *** [allocator.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [beds.o] Error 1
make[1]: *** [chat.o] Error 1
make[1]: *** [baseevents.o] Error 1
make[1]: *** [actions.o] Error 1
make[1]: Leaving directory `/home/ot/sources'
make: *** [all] Error 2
 
well solved i just added in configure.ac OPTIONAL_FLAGS="-std=c++11" to enable -std=c++11

but now:


CXX actions.o
CXX allocator.o
CXX baseevents.o
CXX beds.o
CXX chat.o
CXX combat.o
CXX condition.o
CXX configmanager.o
CXX connection.o
CXX container.o
CXX creature.o
CXX creatureevent.o
CXX cylinder.o
CXX database.o
CXX databasemanager.o
CXX databasemysql.o
CXX depotchest.o
CXX depotlocker.o
CXX dispatcher.o
CXX exception.o
CXX fileloader.o
CXX game.o
CXX globalevent.o
CXX group.o
CXX gui.o
CXX house.o
CXX housetile.o
CXX inbox.o
CXX inputbox.o
CXX ioban.o
CXX ioguild.o
CXX iologindata.o
CXX iomap.o
CXX iomapserialize.o
CXX item.o
CXX itemattributes.o
CXX items.o
CXX luascript.o
CXX mailbox.o
CXX manager.o
CXX map.o
CXX monster.o
CXX monsters.o
CXX movement.o
CXX networkmessage.o
CXX npc.o
CXX otpch.o
CXX otserv.o
otserv.cpp: In function 'bool argumentsHandler(StringVec)':
otserv.cpp:166:4: error: unable to find string literal operator 'operator"" SOFTWARE_DEVELOPERS'
otserv.cpp:167:12: error: unable to find string literal operator 'operator"" FORUMS'
otserv.cpp: In function 'void otserv(StringVec, ServiceManager*)':
otserv.cpp:441:50: error: unable to find string literal operator 'operator"" SOFTWARE_DEVELOPERS'
otserv.cpp:443:14: error: unable to find string literal operator 'operator"" FORUMS'
make[1]: *** [otserv.o] Error 1
make[1]: Leaving directory `/home/ot/sources'
make: *** [all] Error 2
root@ot:/home/ot/sources# error: unable to find string literal operator 'operator"" SOFTWARE_DEVELOPERS
 
Back
Top