DIP62: Volatile type qualifier for unoptimizable variables in embedded programming

Meta via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 15 12:27:25 PDT 2014


On Tuesday, 15 July 2014 at 19:23:36 UTC, Iain Buclaw via 
Digitalmars-d wrote:
> Worse, there's no code because the compiler optimises 
> everything away!

I was assuming you'd do something in the static if (volatile) 
section to stop it from doing that. I know very little when it 
comes to these things.


More information about the Digitalmars-d mailing list