
22 Nov
2010
22 Nov
'10
2:22 p.m.
On Mon, Nov 22, 2010 at 1:56 AM, Claude
uint32_t& c; string str("10); [...] c = lexical_cast
(str); I obtain link error with VC 2010 (I use the code::blocks IDE):
'c' looks like an uninitialized reference? With gcc 4.0.1 I can't even compile that declaration: error: 'c' declared as reference but not initialized I would expect *some* kind of error. Not sure why it would manifest as a link error with that compiler.