Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.2.1.2.0.20050528120824.03d80e48@pop.prospeed.net> Date: Sat, 28 May 2005 12:11:31 -0400 To: "Alireza Ghasemi" , From: Larry Hall Subject: Re: Why "ISO C++ forbids..." In-Reply-To: <002701c5634a$ee846170$f42fb5d5@keloasc60pobkb> References: <002701c5634a$ee846170$f42fb5d5 AT keloasc60pobkb> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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/