I'm trying to compile a .cpp file but i keep on getting a compiler error that reads:
J:\quincy2000\mingw32\bin\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\i386-mingw32msvc\lib\libmingw32.a(main.o)(.text+0x8e): undefined reference to `WinMain@16'
i'm using a windows compiler called quincy2000 which works fine, and i get the same error when i use g++ in a unix box.
There is deliberately no main method in my .cpp file so where is this error from?
J:\quincy2000\mingw32\bin\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\i386-mingw32msvc\lib\libmingw32.a(main.o)(.text+0x8e): undefined reference to `WinMain@16'
i'm using a windows compiler called quincy2000 which works fine, and i get the same error when i use g++ in a unix box.
There is deliberately no main method in my .cpp file so where is this error from?