Date: Fri, 22 Mar 1996 13:51:49 +0800 (GMT+0800) From: "Orlando A. Andico" To: "A.Appleyard" cc: DJGPP AT delorie DOT com Subject: Re: When and how does longjmp() `clobber' variables? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 21 Mar 1996, A.Appleyard wrote: > I have a big Gnu C++ program (an Emacs-type text editor) in several files, > which I compile with `gcc -c -g -Wall', getting no fault remarks or > cautions or warnings. But today I compiled it with `gcc -c -g -O3', > and got a mass of warnings of this type:- I had a similar program a while back with a Basic interpreter using -O2 instead of -O. I think it's because at the higher levels of optimization the compiler inlines everything in sight and this can cause weird problems. As for the vfork(), I suppose you can ignore it because vfork() is "implemented" to fail under DJGPP. ------------------------ Orlando A. Andico oandico AT eee DOT upd DOT edu DOT ph ------------------------