I've been trying to figure this out for several days now, searching many different websites like this one, as well as stack overflow and the codeblocks wiki, but cannot find a solution for my problem.
Codeblocks reports the number of warnings / errors no matter what compiler you have selected, it seems.
When upgrading VC++2010 to 2013 I had no issues with codeblocks, but I have had issues upgrading from 2013 to 2015.
There have been many VC++ issues I've resolved, but this mis-reporting of error and warnings seems to be an error with the codeblocks configuration I've created. (Error / warnings are almost always 0, though errors in the linker are sometimes counted).
Linking with: C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x86\libucrt.lib
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
c compiler cl.exe, C++ compiler cl.exe, linker for dynamic & static libs link.exe, Debuger (invalid debuger), make program nmake.exe.
I would sincerely appreciate any help getting VC++2015 to work correctly with Code Blocks 16.01.
All the best,