[cfe-dev] Warning in CodegenTypes.cpp

HyperQuantum hyperquantum at gmail.com
Wed Dec 5 09:15:12 PST 2007


I compiled clang from SVN (r44614) and get the following warning (GCC 4.2.2):

CodeGenTypes.cpp: In member function 'const llvm::Type*
clang::CodeGen::CodeGenTypes::ConvertNewType(clang::QualType)':
CodeGenTypes.cpp:316: warning: comparison with string literal results
in unspecified behaviour

It seems that there is a comparison of two const char pointers. Is
that intentional?


Greetings,
Kevin André




More information about the cfe-dev mailing list