Code::Blocks Forums
User forums => Help => Topic started by: troy on September 20, 2007, 08:57:05 am
-
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:
(http://aycu18.webshots.com/image/27777/2005853586873432264_rs.jpg)
Please help me to solve it. Thank you very much.
Troy Su.