Krikal Csaladi
Inactive Member-
Posts
1 -
Joined
-
Last visited
-
Feedback
0%
Krikal Csaladi's Achievements
-
Compile with GCC48 / C++11 & Optimized Flags
Krikal Csaladi replied to Vanilla's topic in Guides & HowTo
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 ?