Trying to create a GUI application with the MT flag set. Mingw Debug compile using 605 version with MINGW download.
All modules compile correctly but the linker creates the following error.
Linking...
(option '-O 2' ignored)
___main: duplicate
-> used: libmingw32.a:gccmain.o:1
-> discarded: libgcc.a:__main.o:1
C:\upp\out\MINGW.Debug_full.Gui.Mt\Cserver.exe (13132672 B) linked in (0:01.70)
OK. (0:06.43)[/COLOR]
Any suggestions of possible ways forward welcome.
This is not error, just explanation message (sort of warning if you want) from our linker. The cause is mingw libraries contain duplicate '_main' definition - that has nothing to do with MT.