missed uninitialised variable warning

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Aug 4 18:36:00 GMT 2003


dewar@gnat.com (Robert Dewar) writes:

| > 
| >   unsigned char c = c;
| > 
| > is guaranted to work, just like
| 
| What on earth does "work" mean here (in formal C++ standard terms, not
| in pragmatic "we-know-what-it-must-mean" terms.

well-formed and does not have an undefined behaviour. 

-- Gaby



More information about the Gcc mailing list