delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/07/21:34:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
X-Authentication-Warning: mercury.xraylith.wisc.edu: khan owned process doing -bs
Date: Wed, 7 Jul 1999 20:30:43 -0500 (CDT)
From: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>
To: abl893s AT mail DOT smsu DOT edu
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: perplexing error with g++
In-Reply-To: <002110405010879HELIUM@helium.smsu.edu>
Message-ID: <Pine.LNX.3.96.990707202722.20199A-100000@mercury.xraylith.wisc.edu>
MIME-Version: 1.0

On Wed, 7 Jul 1999 abl893s AT mail DOT smsu DOT edu wrote:

> With release 20.1 "#!" on first line of C++ file I get error "Invalid
> name" for line 1, upon trying to compile with g++.

Because it's not valid C++. However, the error message you should get
is: 

  $ gcc -c x.cc
  x.cc:1: invalid preprocessing directive name
  
not an "Invalid name".

Also, in case you didn't know, quite a few repeat posts are showing
up, so you may want to check your mail program or what not.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019