Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Help / Re: Building Codeblocks with LLVM Clang error
« Last post by jeybee on July 05, 2024, 06:40:50 pm »
Other managers (editormanager, filemanager...) use the exact same code. Did you change also their code, or they compiled flawlessly?

yes all of them needed changing in the same way. no resulting issues with compiling due to it.
52
Help / Re: Building Codeblocks with LLVM Clang error
« Last post by Miguel Gimenez on July 05, 2024, 06:37:31 pm »
Other managers (editormanager, filemanager...) use the exact same code. Did you change also their code, or they compiled flawlessly?
53
Help / Re: Building Codeblocks with LLVM Clang error
« Last post by jeybee on July 05, 2024, 06:00:11 pm »
image of compiling win32 gui tempate app
54
Help / Re: Building Codeblocks with LLVM Clang error
« Last post by jeybee on July 05, 2024, 05:59:05 pm »
image of codeblocks running on arm32 windows 10
55
Help / Re: Building Codeblocks with LLVM Clang error
« Last post by jeybee on July 05, 2024, 05:56:54 pm »
one thing i noticed is the resource.rc file takes the arch of the machine that it's compiling on and not the host machine it's being compiled for
56
Help / Re: Building Codeblocks with LLVM Clang error
« Last post by jeybee on July 05, 2024, 05:55:22 pm »
With said change cbcolourmanager.cpp compiles, but when compiling the whole project you get this error (tested with MinGW):
Code
manager.h|224|undefined reference to `Mgr<ColourManager>::isShutdown'|

with llvm clang it compiles and is a usable app. just ported this to arm32, running on the microsoft surface 1/2 nvidia arm soc.
57
Help / Re: Building Codeblocks with LLVM Clang error
« Last post by Miguel Gimenez on July 05, 2024, 05:31:06 pm »
With said change cbcolourmanager.cpp compiles, but when compiling the whole project you get this error (tested with MinGW):
Code
manager.h|224|undefined reference to `Mgr<ColourManager>::isShutdown'|
58
Help / Re: Building Codeblocks with LLVM Clang error
« Last post by jeybee on July 05, 2024, 04:44:11 pm »
the fix for anyone encountering this error in the future is

Code
template<class ColourManager> ColourManager* Mgr<ColourManager>::instance = nullptr;
template<class ColourManager> bool  Mgr<ColourManager>::isShutdown = false;

credit for figuring it out goes to jonas schwoebel

https://stackoverflow.com/questions/64588313/initialization-of-static-template-member-in-crtp/64588437#64588437
59
Nightly builds / The 14 June 2024 build (13529) is out
« Last post by ThierryD on July 05, 2024, 03:41:03 pm »
Hi,

Ok sodev,  it's clear. Like clangd ... I suppose.
How CB integrate Cmake (or not) ?
Thank's ?

Thierry D.
60
Help / Re: Building Codeblocks with LLVM Clang error
« Last post by stahta01 on July 05, 2024, 02:49:10 pm »
I did not see that error under MSys2 CLANG64 which uses
Code
$ clang --version
clang version 18.1.8
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/msys64/clang64/bin

Tim S.
Pages: 1 2 3 4 5 [6] 7 8 9 10