This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: missed uninitialised variable warning


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]