help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: clobbered


From: John W. Eaton
Subject: Re: clobbered
Date: Fri, 3 Nov 2000 09:43:52 -0600

On  2-Nov-2000, Andy Jacobson <address@hidden> wrote:

| >>>>> "John" == John W Eaton <address@hidden> writes:
| 
|     John> Can you please send a *complete* example that demonstrates
|     John> the problem?
| 
| Sorry, since the code is copyrighted, I was reluctant to send it the
| way it was.  Here's a fragment which does manifest the problem.  Note
| that the problem goes if either the F77_XFCN call is removed *or* if
| optimization in the mkoctfile script is turned off.

Hmm.  I'm still unable to reproduce the warnings with gcc 2.95.2 on my
system, but I do have the same problem with rand.cc from Octave
2.0.16.  The solution there was to add `volatile' to the declarations
for the variables that gcc complains about.

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]