[fpc-pascal] Lack of 'volatile' a serious issue. Any other such caveats?

wkitty42 at windstream.net wkitty42 at windstream.net
Sat Dec 19 18:27:56 CET 2015

On 12/19/2015 11:33 AM, Sven Barth wrote:
> Am 19.12.2015 15:54 schrieb <wkitty42 at windstream.net>
>> not really... backwards compatibility and all that... borland's TP and BP
>> do the same... at least back as far as v6... i can't get to my v5 or v3 to
>> test but i daresay that they, too, do the same... looking forward from
>> them, i would hazard a guess that delphi also does the same...
>> but then again, perhaps the devs could provide that guarantee in one of the
>> available language modes... perhaps with an additional mode switch...
> Why should we? That will only prohibit potential optimizations of the loop...

that's why i said "perhaps" ;)

i've run into it years ago but didn't know why... the recent discussions about 
it educated me... but long ago, i changed my coding patterns so as to not run 
into the situation...

  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.

More information about the fpc-pascal mailing list