Skip to content

Commit

Permalink
upgrades codeblock to Lua 5.4.2 (#5556)
Browse files Browse the repository at this point in the history
* upgrades codeblock to Lua 5.4.2

* fix error

* upgrade to c++20

* upgrade to c++20

* upgradeto c++20

* Update wesnothd.cbp
  • Loading branch information
newfrenchy83 committed Feb 17, 2021
1 parent 54cde58 commit 3f13184
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion projectfiles/CodeBlocks/campaignd.cbp
Expand Up @@ -29,7 +29,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++17" />
<Add option="-std=c++20" />
<Add option="-mthreads" />
<Add option="-fexceptions" />
<Add option="-fdiagnostics-show-option" />
Expand Down
5 changes: 3 additions & 2 deletions projectfiles/CodeBlocks/liblua.cbp
Expand Up @@ -31,7 +31,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++17" />
<Add option="-std=c++20" />
<Add option="-U__STRICT_ANSI__" />
<Add option="-include ../../src/wesnoth_lua_config.h" />
<Add directory="../../src" />
Expand All @@ -41,7 +41,6 @@
<Unit filename="../../src/lua/lauxlib.cpp" />
<Unit filename="../../src/lua/lauxlib.h" />
<Unit filename="../../src/lua/lbaselib.cpp" />
<Unit filename="../../src/lua/lbitlib.cpp" />
<Unit filename="../../src/lua/lcode.cpp" />
<Unit filename="../../src/lua/lcode.h" />
<Unit filename="../../src/lua/lcorolib.cpp" />
Expand All @@ -57,6 +56,7 @@
<Unit filename="../../src/lua/lfunc.h" />
<Unit filename="../../src/lua/lgc.cpp" />
<Unit filename="../../src/lua/lgc.h" />
<Unit filename="../../src/lua/ljumptab.h" />
<Unit filename="../../src/lua/liolib.cpp" />
<Unit filename="../../src/lua/llex.cpp" />
<Unit filename="../../src/lua/llex.h" />
Expand All @@ -69,6 +69,7 @@
<Unit filename="../../src/lua/lobject.h" />
<Unit filename="../../src/lua/lopcodes.cpp" />
<Unit filename="../../src/lua/lopcodes.h" />
<Unit filename="../../src/lua/lopnames.h" />
<Unit filename="../../src/lua/loslib.cpp" />
<Unit filename="../../src/lua/lparser.cpp" />
<Unit filename="../../src/lua/lparser.h" />
Expand Down
2 changes: 1 addition & 1 deletion projectfiles/CodeBlocks/tests.cbp
Expand Up @@ -30,7 +30,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++17" />
<Add option="-std=c++20" />
<Add option="-mthreads" />
<Add option="-fexceptions" />
<Add option="-fdiagnostics-show-option" />
Expand Down
2 changes: 1 addition & 1 deletion projectfiles/CodeBlocks/wesnoth.cbp
Expand Up @@ -30,7 +30,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++17" />
<Add option="-std=c++20" />
<Add option="-mthreads" />
<Add option="-fexceptions" />
<Add option="-fdiagnostics-show-option" />
Expand Down
2 changes: 1 addition & 1 deletion projectfiles/CodeBlocks/wesnothd.cbp
Expand Up @@ -29,7 +29,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++17" />
<Add option="-std=c++20" />
<Add option="-mthreads" />
<Add option="-fexceptions" />
<Add option="-fdiagnostics-show-option" />
Expand Down

0 comments on commit 3f13184

Please sign in to comment.