Dubious "'foo' might be used uninitialized in this function" message

Nathan Sidwell nathan@codesourcery.com
Wed Dec 15 10:02:00 GMT 2004


Dmitry Antipov wrote:
> Nathan Sidwell wrote:

>>
>> it gets as complex as the halting problem :)
> 
> 
> Really ? Why ?

you're asking the compiler to show that a piece of code X (the use) is only
executed whenever another piece of code Y (the set) is executed.  For arbitrary
intervening code.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gcc mailing list