![](https://metin2.dev/uploads/theme-resources/set_resources_31/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://metin2.dev/uploads/theme-resources/set_resources_31/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
Krikal Csaladi
-
Posts
1 -
Joined
-
Last visited
-
Feedback
0%
Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Compile with GCC48 / C++11 & Optimized Flags
in Guides & HowTo
Posted
Hello there,
i just got that problem when i would compile the game src
compile BattleArena.cpp g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead In file included from /usr/local/lib/gcc48/include/c++/random:50:0, from /usr/local/lib/gcc48/include/c++/bits/stl_algo.h:65, from /usr/local/lib/gcc48/include/c++/algorithm:62, from stdafx.h:15, from BattleArena.cpp:1: /usr/local/lib/gcc48/include/c++/bits/random.h:35:8: error: expected constructor , destructor, or type conversion before '(' token defined(_GLIBCXX_USE_INT128) ^ In file included from /usr/local/lib/gcc48/include/c++/functional:53:0, from /usr/local/lib/gcc48/include/c++/bits/stl_algo.h:66, from /usr/local/lib/gcc48/include/c++/algorithm:62, from stdafx.h:15, from BattleArena.cpp:1: /usr/local/lib/gcc48/include/c++/typeinfo:39:37: error: expected declaration bef ore end of line #pragma GCC visibility push(default) ^ gmake: *** [Makefile:136: OBJDIR/BattleArena.o] Error 1
Would sy help me ?
Hello there,
i just got that problem when i would compile the game src
compile BattleArena.cpp g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead In file included from /usr/local/lib/gcc48/include/c++/random:50:0, from /usr/local/lib/gcc48/include/c++/bits/stl_algo.h:65, from /usr/local/lib/gcc48/include/c++/algorithm:62, from stdafx.h:15, from BattleArena.cpp:1: /usr/local/lib/gcc48/include/c++/bits/random.h:35:8: error: expected constructor , destructor, or type conversion before '(' token defined(_GLIBCXX_USE_INT128) ^ In file included from /usr/local/lib/gcc48/include/c++/functional:53:0, from /usr/local/lib/gcc48/include/c++/bits/stl_algo.h:66, from /usr/local/lib/gcc48/include/c++/algorithm:62, from stdafx.h:15, from BattleArena.cpp:1: /usr/local/lib/gcc48/include/c++/typeinfo:39:37: error: expected declaration bef ore end of line #pragma GCC visibility push(default) ^ gmake: *** [Makefile:136: OBJDIR/BattleArena.o] Error 1
Would sy help me ?
Hello there,
i just got that problem when i would compile the game src
compile BattleArena.cpp g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead In file included from /usr/local/lib/gcc48/include/c++/random:50:0, from /usr/local/lib/gcc48/include/c++/bits/stl_algo.h:65, from /usr/local/lib/gcc48/include/c++/algorithm:62, from stdafx.h:15, from BattleArena.cpp:1: /usr/local/lib/gcc48/include/c++/bits/random.h:35:8: error: expected constructor , destructor, or type conversion before '(' token defined(_GLIBCXX_USE_INT128) ^ In file included from /usr/local/lib/gcc48/include/c++/functional:53:0, from /usr/local/lib/gcc48/include/c++/bits/stl_algo.h:66, from /usr/local/lib/gcc48/include/c++/algorithm:62, from stdafx.h:15, from BattleArena.cpp:1: /usr/local/lib/gcc48/include/c++/typeinfo:39:37: error: expected declaration bef ore end of line #pragma GCC visibility push(default) ^ gmake: *** [Makefile:136: OBJDIR/BattleArena.o] Error 1
Would sy help me ?
Hello there,
i just got that problem when i would compile the game src
compile BattleArena.cpp g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead In file included from /usr/local/lib/gcc48/include/c++/random:50:0, from /usr/local/lib/gcc48/include/c++/bits/stl_algo.h:65, from /usr/local/lib/gcc48/include/c++/algorithm:62, from stdafx.h:15, from BattleArena.cpp:1: /usr/local/lib/gcc48/include/c++/bits/random.h:35:8: error: expected constructor , destructor, or type conversion before '(' token defined(_GLIBCXX_USE_INT128) ^ In file included from /usr/local/lib/gcc48/include/c++/functional:53:0, from /usr/local/lib/gcc48/include/c++/bits/stl_algo.h:66, from /usr/local/lib/gcc48/include/c++/algorithm:62, from stdafx.h:15, from BattleArena.cpp:1: /usr/local/lib/gcc48/include/c++/typeinfo:39:37: error: expected declaration bef ore end of line #pragma GCC visibility push(default) ^ gmake: *** [Makefile:136: OBJDIR/BattleArena.o] Error 1
Would sy help me ?