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: | <38BD4C55.364EEC0@halden.net> |
Date: | Wed, 01 Mar 2000 17:59:01 +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: | Cygwin mailing list <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Strange error: Invalid option `-undef' |
Note-from-DJ: | This may be spam |
I am getting a strange error when I try to compile a small program that I made, the source is as follows: // codepagechecker.cpp // [insert GPL] #include <iostream.h> void main(void) { unsigned char Tegn1; cout << "Please enter the character you wish to use : "; cin >> Tegn1; cout << "\nYou entered: " << Tegn1 << ", which is decimal " << (int)Tegn1; cout << " and hexadecimal " << hex << (int)Tegn1 << "."; } Here's all the output bash and cpp provided me with: BASH.EXE-2.02$ g++ codepagechecker.cpp -o codepagechecker.exe cpp: Invalid option `-undef' I never entered the option -undef anywhere, so I would be very gratefull if somebody told me what I, or Cygwin, is doing wrong. Thanks in advance. May you live long and spamless, 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 People who love sausage and respect the law should never watch either of them being made. -- 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 |