www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - It is safe to remove references to volatile?

As the title says. If I have a module that has volatile 
definitions, and if I compile that module using the -w switch, I 
get the error:

foobar.d(1980): volatile statements deprecated; used synchronized 
statements instead

Besides the silly misspelling in the error message, should I 
follow its advice and replace volatile with synchronized? Or it 
is safe to just remove it?

--
Yao Gómez
Jan 27 2012