www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/27/10:05:34

Date: Wed, 27 Mar 1996 16:55:49 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Cc: DJGPP AT delorie DOT com
Subject: Re: -O3 says that longjmp may clobber variables
In-Reply-To: <11D54ED67C1@fs2.mt.umist.ac.uk>
Message-Id: <Pine.SUN.3.91.960327165311.4844F-100000@is>
Mime-Version: 1.0

On Tue, 26 Mar 1996, A.Appleyard wrote:

>   I have a big djgpp program, that compiled with -Wall with no remarks. I
> recently compiled it with -O3 -Wall, and got warnings of this type:-
> 
>   main.cc:33: warning: variable `class buffer * C' might be clobbered by
> `longjmp' or `vfork'
>   macros.cc:397: warning: variable `class val *const this' might be clobbered
> by `longjmp' or `vfork'

The other day I saw an explanation of this in the Gcc docs, in the node 
(chapter) called `Incompatibilities'.  If that's not the chapter you say 
you've already read, you might look there also.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019