Author Topic: When building a error program how to show the Build log or Build Messages  (Read 3310 times)

troy

  • Guest
Hi all,

   I have set the Borland C++ 4.5 in Code::Blocks.
   I can complete a building exe file with BC++4.5 in Code::Blocks.

   I try to build a error program in Code::Block, but Code::Blocks only shows the following messages:
---------------------------------------------------------------------
Switching to target: default
bcc.exe    -ml -1    -IC:\BC45\INCLUDE -o.\main.o -c main.cpp
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings
----------------------------------------------------------------------

   I have compiled it in DOS command and get the following meaages:
----------------------------------------------------------------------
Borland C++ 4.5 Copyright (c) 1987, 1994 Borland International
main.cpp:
Error main.cpp 14: For statement missing ; in function main()
Warning main.cpp 15: Code has no effect in function main()
Error main.cpp 15: Statement missing ; in function main()
Warning main.cpp 24: 'i' is assigned a value that is never used in function main()
*** 2 errors in Compile ***
-----------------------------------------------------------------------

    I have to set the Compiler->Other->advanced options...->Output parsing as following firgure:



    Please help me to solve it. Thank you very much.

Troy Su.
« Last Edit: September 20, 2007, 09:38:40 am by troy »