g++ linker problem with libcygwin.a
Sun Oct 23 18:22:00 GMT 2011
On Sat, Oct 22, 2011 at 9:18 PM, Philipp Kraus wrote:
> I use Cygwin with g++ for compiling my source codes and on some codes I get
> the error:
> undefined reference to `_WinMain@16'
If there is no main(), libcygwin.a gives you a last chance: maybe
there is a WinMain function defined in your code, which will be called
by libc to start the program.
(or something like that)
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin