Hi.
Since last nightly build, I have problems building CodeBlocks with all plugins (the Clangd_Client fails every times)
I tried with both wx-3.1.7 and wx3.2.1, with recents updated of the C::B's sources (rev13062), and with both 32 and 64 bits, but there is no way to make the build finish correctly.
Here is the last attempt result with 32 bits MinGW-8.1.0 and wxWidgets-3.2.1 :
-------------- Build: default in Clangd_Client-wx32 (compiler: GNU GCC Compiler)---------------
Running target pre-build steps
cmd /c @echo TARGET_OUTPUT_DIR: ..\..\..\devel32\share\CodeBlocks\plugins\
cmd /c @echo TARGET_OUTPUT_FILENAME: clangd_client.dll
TARGET_OUTPUT_DIR: ..\..\..\devel32\share\CodeBlocks\plugins\
cmd /c @ECHO TARGET_DEVEL_DIR:
TARGET_OUTPUT_FILENAME: clangd_client.dll
cmd /c @ECHO CB_TRUNK: Z:\wxWidgets\CodeBlocks\src\plugins\contrib\clangd_client\..\..\..\..\
TARGET_DEVEL_DIR:
CB_TRUNK: Z:\wxWidgets\CodeBlocks\src\plugins\contrib\clangd_client\..\..\..\..\
g++.exe -Wall -std=gnu++11 -m32 -g -O2 -pipe -mthreads -fmessage-length=0 -fexceptions -DHAVE_W32API_H -DBUILDING_PLUGIN -D__WXMSW__ -DWXUSINGDLL -DNOPCH -DwxUSE_UNICODE -D_WIN32 -DCC_NO_COLLAPSE_ITEM -DcbDEBUG -Wno-deprecated-declarations -DwxDEBUG_LEVEL=0 -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -I..\..\..\include\tinyxml -Isrc -Isrc\LSPclient -Isrc\winprocess -Isrc\winprocess\asyncprocess -Isrc\winprocess\misc -IZ:\wxWidgets\CB_wx32x\include -IZ:\wxWidgets\CB_wx32x\lib\gcc_dll32\mswu -c Z:\wxWidgets\CodeBlocks\src\plugins\contrib\clangd_client\src\ClangLocator.cpp -o ..\..\..\.objs32\plugins\contrib\clangd_client\src\ClangLocator.o
g++.exe -Wall -std=gnu++11 -m32 -g -O2 -pipe -mthreads -fmessage-length=0 -fexceptions -DHAVE_W32API_H -DBUILDING_PLUGIN -D__WXMSW__ -DWXUSINGDLL -DNOPCH -DwxUSE_UNICODE -D_WIN32 -DCC_NO_COLLAPSE_ITEM -DcbDEBUG -Wno-deprecated-declarations -DwxDEBUG_LEVEL=0 -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -I..\..\..\include\tinyxml -Isrc -Isrc\LSPclient -Isrc\winprocess -Isrc\winprocess\asyncprocess -Isrc\winprocess\misc -IZ:\wxWidgets\CB_wx32x\include -IZ:\wxWidgets\CB_wx32x\lib\gcc_dll32\mswu -c Z:\wxWidgets\CodeBlocks\src\plugins\contrib\clangd_client\src\codecompletion\ccoptionsdlg.cpp -o ..\..\..\.objs32\plugins\contrib\clangd_client\src\codecompletion\ccoptionsdlg.o
g++.exe -Wall -std=gnu++11 -m32 -g -O2 -pipe -mthreads -fmessage-length=0 -fexceptions -DHAVE_W32API_H -DBUILDING_PLUGIN -D__WXMSW__ -DWXUSINGDLL -DNOPCH -DwxUSE_UNICODE -D_WIN32 -DCC_NO_COLLAPSE_ITEM -DcbDEBUG -Wno-deprecated-declarations -DwxDEBUG_LEVEL=0 -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -I..\..\..\include\tinyxml -Isrc -Isrc\LSPclient -Isrc\winprocess -Isrc\winprocess\asyncprocess -Isrc\winprocess\misc -IZ:\wxWidgets\CB_wx32x\include -IZ:\wxWidgets\CB_wx32x\lib\gcc_dll32\mswu -c Z:\wxWidgets\CodeBlocks\src\plugins\contrib\clangd_client\src\codecompletion\ccoptionsprjdlg.cpp -o ..\..\..\.objs32\plugins\contrib\clangd_client\src\codecompletion\ccoptionsprjdlg.o
g++.exe -Wall -std=gnu++11 -m32 -g -O2 -pipe -mthreads -fmessage-length=0 -fexceptions -DHAVE_W32API_H -DBUILDING_PLUGIN -D__WXMSW__ -DWXUSINGDLL -DNOPCH -DwxUSE_UNICODE -D_WIN32 -DCC_NO_COLLAPSE_ITEM -DcbDEBUG -Wno-deprecated-declarations -DwxDEBUG_LEVEL=0 -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -I..\..\..\include\tinyxml -Isrc -Isrc\LSPclient -Isrc\winprocess -Isrc\winprocess\asyncprocess -Isrc\winprocess\misc -IZ:\wxWidgets\CB_wx32x\include -IZ:\wxWidgets\CB_wx32x\lib\gcc_dll32\mswu -c Z:\wxWidgets\CodeBlocks\src\plugins\contrib\clangd_client\src\codecompletion\cctreectrl.cpp -o ..\..\..\.objs32\plugins\contrib\clangd_client\src\codecompletion\cctreectrl.o
In file included from Z:\wxWidgets\CodeBlocks\src\plugins\contrib\clangd_client\src\codecompletion\codecompletion.h:22,
from Z:\wxWidgets\CodeBlocks\src\plugins\contrib\clangd_client\src\codecompletion\ccoptionsdlg.cpp:41:
src\LSPclient/client.h:418:14: error: 'thread' in namespace 'std' does not name a type
std::thread* m_pJsonReadThread = nullptr;
^~~~~~
src\LSPclient/client.h:418:9: note: 'std::thread' is defined in header '<thread>'; did you forget to '#include <thread>'?
src\LSPclient/client.h:45:1:
+#include <thread>
src\LSPclient/client.h:418:9:
std::thread* m_pJsonReadThread = nullptr;
^~~
The error is very strange, as the needed header (thread) is already included.
Is this a known thing or not ?
Am I doing something wrong ?
Regards
Xav'