71
Development / Re: Change to C++17?
« Last post by Miguel Gimenez on September 10, 2026, 07:02:09 pm »Should we use gnu++20 or plain c++20?
The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .
Have you tried to compile the full version with C++17
When working on builds for Fedora ([url]https://copr.fedorainfracloud.org/coprs/sharkcz/danny/build/10959184/[/url], details are in the builder-live.log files), I have noticed that libtool version 2.6.2 present in Rawhide fails the build of the codesnippets plugin after the tinyxml LIBADD was removed from its Makefile.am in revision 13996. System tinyxml library is used in the builds. I have confirmed that with libtool downgraded to 2.5.4 the build runs OK. AFAICT other plugins still use the LIBADD mechanism. Likely some change in libtool is causing this ...
Maybe something related to this discussion: [url=https://forums.codeblocks.org/index.php/topic,26338.msg179012.html#msg179012]Faild to build C::B with github action with latest wxWidgets 3.3.3[/url]
It is also related to the tinyxml library and the linker issue.
libcodesnippets_la_SOURCES = codesnippets.cpp \in forum message below:
codesnippetstreectrl.cpp \
--- a/src/plugins/contrib/envvars/Makefile.am
+++ b/src/plugins/contrib/envvars/Makefile.am
@@ -11,7 +11,8 @@
libenvvars_la_LDFLAGS = @MODULE_SHARED_LDFLAGS@ -version-info 0:1:0 -no-undefined -avoid-version
libenvvars_la_LIBADD = ../../../sdk/libcodeblocks.la \
- $(WX_LIBS)
+ $(WX_LIBS) \
+ $(CB_TINYXML_LIBS)
When working on builds for Fedora (https://copr.fedorainfracloud.org/coprs/sharkcz/danny/build/10959184/, details are in the builder-live.log files), I have noticed that libtool version 2.6.2 present in Rawhide fails the build of the codesnippets plugin after the tinyxml LIBADD was removed from its Makefile.am in revision 13996. System tinyxml library is used in the builds. I have confirmed that with libtool downgraded to 2.5.4 the build runs OK. AFAICT other plugins still use the LIBADD mechanism. Likely some change in libtool is causing this ...