volatile [was: GCC warnings for unused global variables]

Alexandre Oliva aoliva@redhat.com
Tue May 6 23:26:00 GMT 2003


On May  6, 2003, Geoff Keating <geoffk@geoffk.org> wrote:

>> Except that the object only becomes volatile after it is initialized.
>> Otherwise, there'd be no constructor to initialize it, since
>> cv-qualifiers don't make it to the type of `this' in cdtors.

> We're talking about C++ here, right?

Right.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc mailing list