Any particular reason src/plugins/contrib/clangd_client/clangd_client_wx32_64.cbp has been changed to not use the GNU c++ extensions? I get the change from v17 back v11. Everything else uses gnu++1. The same can be asked of 'clangd_client_wx31_64.cbp'.
....
On Linux CBP everything links with GTK2, clangd-client uses GTK3.
- <Variable name="PKG_CONFIG_GTK_VERSION" value="3.0" />
+ <Variable name="PKG_CONFIG_GTK_VERSION" value="2.0" />
- <Variable name="WX_CONFIG" value="wx-config --toolkit=gtk3" />
+ <Variable name="WX_CONFIG" value="wx-config --toolkit=gtk2" />
I link successfully on Mint 18 with GTK2, see ticket 1331 (https://sourceforge.net/p/codeblocks/tickets/1331/) for a patch. This patch solves also a template issue I get on MInt 18 due to last parameter type mismatch.
The CBP patch is big because of whitespace, the real changes are:Code- <Variable name="PKG_CONFIG_GTK_VERSION" value="3.0" />
+ <Variable name="PKG_CONFIG_GTK_VERSION" value="2.0" />
- <Variable name="WX_CONFIG" value="wx-config --toolkit=gtk3" />
+ <Variable name="WX_CONFIG" value="wx-config --toolkit=gtk2" />
Note that the following commands show that usage in general is
<Add option="-std=gnu++11" />:
findstr /s /n std= *_wx31.cbp
findstr /s /n std= *_wx32.cbp
findstr /s /n std= *wx31_64.cbp
findstr /s /n std= *wx32_64.cbp
The findstr /s /n std= *_wx30-unix.cbp variants instead use
<Add option="-std=c++11" />
in general with
CodeBlocks_wx30-unix.cbp:415: <Add option="-std=c90" />
being the sole exception.