[CMake] error: multiple declaration of main

ankit jain ankitguddu at gmail.com
Wed Jan 28 05:09:46 EST 2009


hi all,

in one of my folder i have three files. in each of them a main() function is
defined. now on building it says that multiple declaration of main. if i
compile the makefile using gcc only no such error had came.
Guide me what to do?

Regards-
ankit jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090128/35a7b3cc/attachment.htm>


More information about the CMake mailing list