I just updated from a year old nightly to 13422 and I spent an hour trying to figure out what was going wrong with the latest nightly as I get the following alert when I go into the
Envoronment settings:
[Window Title]
wxWidgets Debug Alert
[Main Instruction]
A debugging check in this application has failed.
[Content]
C:\wxWidgets-3.2.4\include/wx/strvararg.h(484): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type
[ ] Don't show this dialog again [Stop] [Continue]
If I disable the Environment variables plugin the alert is not shown. This took me ages to figure out.
More Info:
I did some digging and found a github mirror and one of the following changes could be related to the alert:
https://github.com/arnholm/codeblocks_sfmirror/commit/2e602238923e652b4aa16f7581ade22e3c69fbaa
https://github.com/arnholm/codeblocks_sfmirror/commit/c055b1da0af777224207a0601ff22e3a5f2f69b5
GDB console, startup:
Set variable: PATH=.;C:\mingw64\nixman13_2w32u\bin;C:\mingw64\nixman13_2w32u;C:\mingw64\nixman13_1w32u\bin;C:\mingw64\nixman13_1w32u;C:\mingw64\nixman12_2w32u\bin;C:\mingw64\nixman12_2w32u;C:\Program Files (x86)\Common Files****\WindowsApps;c:\mingw64\nixman13_2w32u\bin
C::B started correct dbg:
Starting debugger: C:\mingw64\nixman13_2w32u\bin\gdb.exe
But there are paths to 3 different installation of the MinGW: nixman13_2w32u - actual, nixman13_1w32u - previous, nixman12_2w32u - old one.
Is it OK?
I suppose problematic is this file (see attach), which is located at
c:\Users\****\AppData\Roaming\CodeBlocks\share\codeblocks\compilers\options_gcc.xml
I suppose problematic is this file (see attach), which is located at
c:\Users\****\AppData\Roaming\CodeBlocks\share\codeblocks\compilers\options_gcc.xml
With Code::Blocks closed, rename or delete the file above and the file above will stop over riding the normal file of the same name.
Edit: Thank you for your post; I had the same problem. But, I had forgotten where the file that I normally delete was located.
Below is the location I deleted my file from.
%APPDATA%\CodeBlocks\share\codeblocks\compilers
Tim S.