Borland C++BuilderX error.
If I compile one of the sample projects that comes with it, no problem. But when I try to compile my own project, these are the errors I get.
"exception": /usr/include/c++/3.2.3/exception multiple definition of 'main' at line 53 linux/Debug_Build/home/njbrain/Documents/cpp/Conversion2.o(.text+0x0):/usr/include/c++/3.2.3/exception first defined here /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: Warning: size of symbol 'main' changed from 145 in linux/Debug_build/home/njbrain/Documents/cpp/Conversion2.o to 136 in linux/Debug_Build/main.o collect2: ld returned 1 exit status GNU C++ Linker exited with error code: 1 Build cancelled due to error Thanks, Noah |
All times are GMT -5. The time now is 10:35 PM. |