[PATCH] Fix PR libstdc++/19510: Uninitialized variable in someiterators

Mark Mitchell mark@codesourcery.com
Sat Jan 22 01:15:00 GMT 2005


Paul Schlie wrote:
>>Mark Mitchell wrote:
>>I'd be OK with having the pointers to be set to zero in a debugging mode,
>>although I should point out that people have rejected adding this kind of
>>feature to the compiler, on the grounds that it encourages people to write
>>unportable code that depends on the zero-initialization.
> 
> 
> Especially if any non-standard initialization's were accompanied with
> corresponding warnings if reasonably possible?

Sure.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Libstdc++ mailing list