Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <200003011753.LAA03930@hp2.xraylith.wisc.edu> To: Andreas =?iso-8859-1?Q?Bergstr=F8m?= cc: Cygwin mailing list Subject: Re: Strange error: Invalid option `-undef' In-reply-to: Your message of "Wed, 01 Mar 2000 18:45:58 +0100." <38BD5756 DOT E03DBDEE AT halden DOT net> Date: Wed, 01 Mar 2000 11:53:50 -0600 From: Mumit Khan Andreas =?iso-8859-1?Q?Bergstr=F8m?= writes: > Mumit Khan wrote: > > > void main(void) > > ^^^^ > > int main (void) > > Well, I have a C++ learners guide that specifies void main(void), > what is the difference? The C++ guide you're using is wrong. I recommend you pick up a decent C++ book, eg., that by Stroustrup. > > > Means you have an older cpp somewhere and things are getting confused. > > Please post the output of the following: > > > > BASH.EXE-2.02$ g++ codepagechecker.cpp -o codepagechecker.exe -v > > Output: > BASH.EXE-2.02$ g++ codepagechecker.cpp -o codepagechecker.exe -v > Reading specs from E:\PROGRAMFILER\CYGNUS\DEV-C++\Lib\specs DEV-C++??? What does this have to do with Cygwin?? Your installation is all confused, and you're trying to mix Cygwin gcc with something else (perhaps dev-c++). Can't help there, sorry. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com