Recent Posts

Pages: 1 ... 3 4 5 6 7 [8] 9 10
71
Development / Re: Change to C++17?
« Last post by gd_on on September 10, 2026, 05:49:27 pm »
Just to inform you that with my CodeBlocks_Windows.workspace, and setting my global variable cb_build.cpp_std to gnu++20, codeblocks compiles correctly as far as I have tested. Of course, this does not cover all build methods.
72
Development / Re: Change to C++17?
« Last post by Miguel Gimenez on September 10, 2026, 04:38:02 pm »
Quote
Have you tried to compile the full version with C++17

I have not tried, developers must agree on the change beforehand. Changing the CBP is easy, the problem may come later from autotools.

Errors in Squirrel can be fixed, but it uses tricky memory accesses that may be a headache.
73
Development / Re: Change to C++17?
« Last post by LETARTARE on September 10, 2026, 03:18:30 pm »
Leap-15.6-64bits, wx-3.2.8;gtk3-u, gc-15.2
'r14003.cbp' ( no 'contrib' )
Here is the compilation log with 'C++17' :
74
Development / Re: Change to C++17?
« Last post by LETARTARE on September 10, 2026, 03:03:09 pm »
Have you tried to compile the full version with C++17 (Win-xx, Linux-xx) ?
If so, what warnings have you obtained ?
75
Development / Change to C++17?
« Last post by Miguel Gimenez on September 10, 2026, 02:04:03 pm »
There is an updated version of astyle library (3.6.18) that fixes some issues (see ticket 1643, but it uses the stupid C++17-only std::string_view and we currently are using C++11.

There is also some C++17-only code, like [fallthrough] in clangd_client, generating warnings.

Should we change to C++17?
76
This is a reference to what might be another instance of this problem:


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.

I worked all the way back to svn 13733 and found no changes in the Makefile.am file. So it has to be something that wasn't deleted, but needs to be added.

It's suggested to change Makefile.am for codesnippets to:

Quote
libcodesnippets_la_SOURCES = codesnippets.cpp \
       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)
 
in forum message below:

https://forums.codeblocks.org/index.php/topic,26338.msg179028.html#msg179028


Can anyone tell me what I need to run to test that this would not screw up anything else on linux or windows.
77
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by Pecan on September 09, 2026, 06:09:36 pm »
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 ...

Working all the way back to svn 13733, the Makefile.am for codesnippets plugin has never been changed.
So it's not something in the file that has been deleted.
It must be something that needs to be added.
I'll continue the conversation on forrum at " Faild to build C::B with github action with latest wxWidgets 3.3.3
" which may be the answer.
78
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by ollydbg on September 09, 2026, 03:36:50 pm »
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 ...

Maybe something related to this discussion: Faild to build C::B with github action with latest wxWidgets 3.3.3

It is also related to the tinyxml library and the linker issue.
79
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by Pecan on September 09, 2026, 03:54:37 am »
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 ...

Most likely my error. I'll do some comparison to see how I erred.
Or maybe you could tell me what it is that I can fix because I'm not very Linux savvy.
80
Nightly builds / Re: The 06 September 2026 build (14003) is out.
« Last post by Xaviou on September 08, 2026, 08:18:51 pm »
Hi.
I am still working on making the Ubuntu-26.04 version (I've made some progress, but there are still problems).
It seems I've found a solution : the last build completed successfully.   :)

Regards
Xav'
Pages: 1 ... 3 4 5 6 7 [8] 9 10