This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: perplexing error with g++


On Wed, 7 Jul 1999 abl893s@mail.smsu.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]