digitalmars.D.learn - It is safe to remove references to volatile?
- Yao Gómez (10/10) Jan 27 2012 As the title says. If I have a...
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