User forums > General (but related to Code::Blocks)
clangd_client_wx32_64.cbp compiler usage in r13056
everSome:
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.
Pecan:
--- Quote from: Miguel Gimenez on November 23, 2022, 07:28:13 pm ---I link successfully on Mint 18 with GTK2, see ticket 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" />
--- End code ---
--- End quote ---
Fixed head rev 13061
Thanks
Pecan:
--- Quote from: everSome on November 23, 2022, 09:50:45 pm ---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.
--- End quote ---
Fixed head rev 13061
Thanks
Navigation
[0] Message Index
[*] Previous page
Go to full version