Yet another undefined _WinMain16...

2003-06-19 Thread foomf
I just downloaded the CygWin package, including gcc (MynGW) because I had been having no luck at all making MynGW work by itself on another machine. I have a simple app that defines static int main (int argc, char **argv) {...} Using the command 'gcc -o testit testit.c' generates the usual messag

Re: Yet another undefined _WinMain16...

2003-06-19 Thread foomf
> cgf quoted and wrote: > > >>The FAQ and the CygWin mailing list indicated that there might be some > > >>advantage to renaming /usr/lib/libm.a to /usr/lib/libm.a.16bit but that > > >>had no effect. > > > > > >That looks like bogus information. Rename it back to its correct name. > > > > It is s

Fixed - Re: Yet another undefined _WinMain16...

2003-06-19 Thread foomf
And... found the problem. A stupid unterminated comment in an included file on a #declare, which was resulting in chunks of my code being missing. Never trust included files. I greatly appreciate the help, embarrassing as the problem was: it turns out that the undeclared WinMain error can also hap