This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Why "ISO C++ forbids..."
- From: Larry Hall <lh-no-personal-replies-please at cygwin dot com>
- To: "Alireza Ghasemi" <ali dot foolad at gmail dot com>, <cygwin at cygwin dot com>
- Date: Sat, 28 May 2005 12:11:31 -0400
- Subject: Re: Why "ISO C++ forbids..."
- References: <002701c5634a$ee846170$f42fb5d5@keloasc60pobkb>
- Reply-to: Cygwin List <cygwin at cygwin dot com>
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/