From: Nate Eldredge Newsgroups: comp.os.msdos.djgpp Subject: Re: Ansi C++ and upgrades Date: 10 Apr 2000 13:02:03 -0700 Organization: InterWorld Communications Lines: 30 Message-ID: <83itxpafno.fsf@mercury.st.hmc.edu> References: NNTP-Posting-Host: mercury.st.hmc.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: nntp1.interworld.net 955397154 78393 134.173.45.219 (10 Apr 2000 20:05:54 GMT) X-Complaints-To: usenet AT nntp1 DOT interworld DOT net NNTP-Posting-Date: 10 Apr 2000 20:05:54 GMT User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Dominy James" <972162410 AT students DOT unp DOT ac DOT za> writes: > Hi, > > I just recently downloaded the latest versions of djgpp, from the > zippicker (today, after it was fixed) > > Things compile and run fine, except for some reason code I wrote > with version 2.01 won't compile because there are a whole bunch of > errors along the lines of > > Error : ANSI C++ forbids ....... > > Most of these are easy to remedy, but is there a way I can let ANSI > rules slip? Try using -fpermissive, or perhaps -Wno-error. > Also it compiles alot of my inline asm fine, but complains after a > link about one of the registers spilling. I haven't changed any of > the code. Recent versions of GCC enforce the inline asm rules more tightly, so if your code broke them somehow, it might just now be causing a problem. See http://gcc.gnu.org/cgi-bin/fom.cgi?file=23 . -- Nate Eldredge neldredge AT hmc DOT edu