[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

Chris Lattner sabre at nondot.org
Fri Jun 17 09:24:33 PDT 2005

On Fri, 17 Jun 2005, Reid Spencer wrote:
>> silence a huge number of bogus warnings with GCC 4 on Reid's tester.
>> diff -u llvm/include/llvm/Support/CommandLine.h:1.43 llvm/include/llvm/Support/CommandLine.h:1.44
>> -    typename ParserClass::parser_data_type Val;
>> +    typename ParserClass::parser_data_type Val =
>> +       typename ParserClass::parser_data_type();
> I tried this a while back. I think this runs into some issues when
> parser_data_type isn't constructible. I've tried various initializations
> but there doesn't seem to be a consistent one that works with all
> parser_data_type types.  Did all of LLVM recompile correctly with this
> change?

Yes, it does with gcc 3.4



More information about the llvm-commits mailing list