delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/20/10:48:08

From: "Alexandre Devaure" <Alexandre DOT Devaure AT leroy-autom DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <fAeL4.1879$_d1 DOT 3770486 AT nnrp4 DOT proxad DOT net> <8dk3aa$m6a$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <9LgL4.1906$D21 DOT 3649551 AT nnrp4 DOT proxad DOT net> <8dkfaj$rk1$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <XljL4.1955$C91 DOT 3755056 AT nnrp4 DOT proxad DOT net> <8dkh60$sjr$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <ktyL4.2008$hy DOT 2487363 AT nnrp6 DOT proxad DOT net> <8dml61$9co$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <zZBL4.2058$k32 DOT 3019817 AT nnrp6 DOT proxad DOT net> <8dn0q3$dvv$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
Subject: Re: 'volatile' undeclared from here
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <8rEL4.2087$n%1.2970728@nnrp6.proxad.net>
Date: Thu, 20 Apr 2000 14:25:08 GMT
NNTP-Posting-Host: 194.51.236.59
X-Complaints-To: abuse AT proxad DOT net
X-Trace: nnrp6.proxad.net 956240708 194.51.236.59 (Thu, 20 Apr 2000 16:25:08 CEST)
NNTP-Posting-Date: Thu, 20 Apr 2000 16:25:08 CEST
Organization: Guest of ProXad - France
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> a écrit dans le
message : 8dn0q3$dvv$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE...

[...]
>
> Summing it all up: you can work around the problem by simply
> *removing* the volatile keyword, I think. Its desired effect is
> granted anyway, no matter if it's written out or not, in your case.
>
> [...]
> >         int PutSecure(const bidon& Value)
> >         {
> >                 __asm__ __volatile__("pushf");
>
> --
> Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
> Even if all the snow were burnt, ashes would remain.
>

Thank you very much Hans-Bernhard.
I'll remove the volatile keyword of my C++ code.

Alex


- Raw text -


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