delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <38BD5756.E03DBDEE@halden.net> |
Date: | Wed, 01 Mar 2000 18:45:58 +0100 |
From: | Andreas =?iso-8859-1?Q?Bergstr=F8m?= <abergstr AT halden DOT net> |
Organization: | Stop SPAM - Now! |
X-Mailer: | Mozilla 4.7 [en] (Win95; U) |
X-Accept-Language: | no,en,da,sv,de,is |
MIME-Version: | 1.0 |
To: | Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU> |
CC: | Cygwin mailing list <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Re: Strange error: Invalid option `-undef' |
References: | <200003011727 DOT LAA03710 AT hp2 DOT xraylith DOT wisc DOT edu> |
Note-from-DJ: | This may be spam |
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? > 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 gcc driver version egcs-2.91.57 19980901 (egcs-1.1 release) executing gcc versio n 2.95.2 cpp -lang-c++ -v -iprefix E:\PROGRAMFILER\CYGNUS\DEV-C++\Lib\i586-cygwin32\egcs -2.91.57\ -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=95 -Di 386 -D_WIN32 -DWIN32 -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__ -DWINNT -D_X86_= 1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D_stdcall=__attribute__ ((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute __((x)) -D__i386__ -D_WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT __ -D__WINNT__ -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) - D___stdcall__=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386 -D__WIN32 -D__WINNT -D___stdcall=__a ttribute__((__stdcall__)) -Asystem(winnt) -Acpu(i386) -Amachine(i386) -D__EXCEPT IONS -remap -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ codepagecheck er.cpp C:\WINDOWS\TEMP\cckpX4ti.ii GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax) cpp: Invalid option `-undef' > Upgrade to gcc-2.95.2 if you're not already running that. See > http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ Thanks, Andreas Bergstrøm -- HTTP://www.spambuster.dhs.org/ Fight Spam! Join EuroCAUCE! == http://www.euro.cauce.org/ Y2K bug? free software at: http://bcordero.home.sprynet.com/y2kwa.htm Many seek good nights and lose good days. - Dutch Proverb -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |