Why "ISO C++ forbids..."

Larry Hall lh-no-personal-replies-please@cygwin.com
Sat May 28 17:19:00 GMT 2005


At 02:02 AM 5/28/2005, you wrote:
>Hello,
>While compiling many g++ programs I got a ;ong list of errors with the same
>messgae like
>"ISO C++ forbids declaration of  '...' with no type"
>whereas rhese files are compltely compiled with g++ on linux.
>What's the problem?
>Can I 'not' use ISO?
>Thanks.



It's just a guess based on the sketchy information provided but I would
say that you must be using an older version of g++ on Linux than on 
Cygwin.  That would account for the problems you see in one O/S and not
the other.  Sounds like there is some updating of source that needs to 
happen for whatever it is you're compiling.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list