delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/07/21:27:29

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
Message-ID: <3783FC4B.EE6F780D@topic.com.au>
Date: Thu, 08 Jul 1999 11:18:03 +1000
From: Geoff Appleby <geoff AT topic DOT com DOT au>
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: abl893s AT mail DOT smsu DOT edu
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: perplexing error with g++
References: <002544308010879HELIUM AT helium DOT smsu DOT edu>


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++.

A #! line is a some sort of scipt isn't it?  A C++ program that has a
line starting with a # is a
preprocessor directive - and the preprocessor doesn't exaclt run shell
scripts for you.
Why have it in there? what's the line?


--
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