This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: g++ compile trouble


Giles Mark W DLPC wrote:

> when trying to compile a c++ program, i get a message: "undefined reference
> to 'WinMain@16'. any ideas for a fix??
>

And you compiled this how??  Usually it helps to see the command you
used to
get the error.

Did you use -mwindows, or other options.  The more information you give,
the
better answer you will get.

John

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]