Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Change to C++17?
christo:
Hi Miguel,
I've been using c++20 for a long time without any issues in my custom branch's autotools build on ubuntu. I think we can upgrade to c++20 directly.
For autotools, following change should be sufficient : https://github.com/josephch/codeblocks/commit/c56d5feaf0ce0c5d511263d1fba29e3713af68e2
Pecan:
I use wx2.3.8 and wx3.3.3 for CodeBlocks (all compiled at c++20) every day.
Miguel Gimenez:
Should we use gnu++20 or plain c++20?
christo:
I think plain c++20 should be okay as we do not use any gnu specific extensions.
Regarding squirrel warnings, looks like it is fixed upstream by casting : https://github.com/albertodemichelis/squirrel/commit/6ad6f6427157757c4431907dde0a1e5712a5cf67
stahta01:
Remember to update the file from "https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html" in the "m4" folder.
The link above did not work searching found this link "https://github.com/autoconf-archive/autoconf-archive/blob/master/m4/ax_cxx_compile_stdcxx.m4"
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version