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




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

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@sourceware.cygnus.com


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