On 06/04/2010 22:39, Paolo Bonzini wrote: > On 04/06/2010 04:01 AM, Charles Wilson wrote: >>> > As for whether it would get dropped if you did, I'd imagine >>> that's quite >>> > plausible; you might want to add a volatile qualifier. >> 'static volatile const char * MAGIC = ...' >> ^^^^^^^^^^^^^^ >> err...maybe just 'volatile'! > > Volatile const _does_ make sense to the compiler, believe it or not. :-)
Yep, that was no typo on my part, I meant exactly what I said :) cheers, DaveK