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

Douglas Gregor dgregor at apple.com
Fri Dec 10 07:43:53 PST 2010


On Dec 10, 2010, at 6:03 AM, Garrison Venn wrote:

> 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.

Should be fixed in r121486.

	- Doug





More information about the cfe-dev mailing list