User forums > Help
Compile and run
Tethys:
Before I installed Visual Studio 14.0 and I was using the earlier Visual Studios when I clicked F9(compile and run) if I had some errors the number of errors were shown and codeblocks didnt run the old .exe file.
Now the errors line by line are shown but it says 0 errors 0 warnings and it runs the old .exe file.
Is there a settings for this? I use codeblocks 10 but it's the same with the latest codeblocks.
oBFusCATed:
Are you complaining that the newest compiler from Microsoft doesn't work in Codeblocks?
Can you post the same output with the compiler that works and the compiler that doesn't?
Tethys:
Thanks!
Old and new compiler error:
oBFusCATed:
Don't post screen shots. Use copy paste and code or quote tags.
Also you're looking at the wrong window.
I'm interested in the build log, not build messages.
Tethys:
The build log of new compiler:
--- Quote ---arrays of arrays.cpp
D:\arrays of arrays.cpp(6): error C2065: 'achar': undeclared identifier
D:\arrays of arrays.cpp(6): error C2146: syntax error: missing ';' before identifier 'array'
D:\arrays of arrays.cpp(6): error C2143: syntax error: missing ';' before '['
D:\arrays of arrays.cpp(6): error C3409: empty attribute block is not allowed
D:\arrays of arrays.cpp(6): error C2143: syntax error: missing ']' before 'constant'
D:\arrays of arrays.cpp(6): error C2059: syntax error: 'constant'
D:\arrays of arrays.cpp(6): error C2143: syntax error: missing ';' before '{'
D:\arrays of arrays.cpp(6): error C2143: syntax error: missing ';' before '}'
D:\arrays of arrays.cpp(6): error C2059: syntax error: ','
D:\arrays of arrays.cpp(8): error C2059: syntax error: 'for'
D:\arrays of arrays.cpp(8): error C2143: syntax error: missing ')' before ';'
D:\arrays of arrays.cpp(8): error C2143: syntax error: missing ';' before '['
D:\arrays of arrays.cpp(8): error C2337: 'i': attribute not found
D:\arrays of arrays.cpp(8): error C2337: 'j': attribute not found
D:\arrays of arrays.cpp(8): error C2059: syntax error: '!='
D:\arrays of arrays.cpp(8): error C2143: syntax error: missing ';' before '++'
D:\arrays of arrays.cpp(8): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\arrays of arrays.cpp(8): error C2059: syntax error: ')'
D:\arrays of arrays.cpp(9): error C2143: syntax error: missing ';' before '{'
D:\arrays of arrays.cpp(9): error C2447: '{': missing function header (old-style formal list?)
D:\arrays of arrays.cpp(15): error C2059: syntax error: 'return'
D:\arrays of arrays.cpp(16): error C2059: syntax error: '}'
D:\arrays of arrays.cpp(16): error C2143: syntax error: missing ';' before '}'
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
Checking for existence: D:\arrays of arrays.exe
Executing: C:\CodeBlocks/cb_console_runner.exe "D:\arrays of arrays.exe" (in D:\@C++)
Process terminated with status -1073741510 (0 minutes, 4 seconds)
--- End quote ---
Navigation
[0] Message Index
[#] Next page
Go to full version