[cfe-dev] warning: comparison between ‘enum clang::Qualifiers::TQ’ and ‘enum clang::Qualifiers::<anonymous>’

Garrison Venn gvenn.cfe.dev at gmail.com
Fri Dec 10 06:03:27 PST 2010


Getting the following type of warnings from a latest trunk release build of clang:

===============================================================

llvm[4]: Compiling CGBlocks.cpp for Release+Asserts build
In file included from <dir>/llvm/tools/clang/lib/CodeGen/CGDebugInfo.h:17,
                 from <dir>/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp:14:
<dir>/llvm/tools/clang/lib/CodeGen\
/../../include/clang/AST/Type.h: In member function ‘void clang::QualType::remo\
veLocalCVRQualifiers(unsigned int)’:
<dir>/llvm/tools/clang/lib/CodeGen\
/../../include/clang/AST/Type.h:3467: warning: comparison between ‘enum clang::\
Qualifiers::TQ’ and ‘enum clang::Qualifiers::<anonymous>’
llvm[4]: Compiling CGBuiltin.cpp for Release+Asserts build
In file included from <dir>/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h:17,
                 from <dir>/llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp:15:
<dir>/llvm/tools/clang/lib/CodeGen\
/../../include/clang/AST/Type.h: In member function ‘void clang::QualType::remo\
veLocalCVRQualifiers(unsigned int)’:
<dir>/llvm/tools/clang/lib/CodeGen\
/../../include/clang/AST/Type.h:3467: warning: comparison between ‘enum clang::\
Qualifiers::TQ’ and ‘enum clang::Qualifiers::<anonymous>’

===============================================================

I have not looked at the commits.

Garrison





More information about the cfe-dev mailing list