[cfe-dev] Disabling Lexer warnings
don.williamson at yahoo.com
Thu Sep 15 06:00:30 CDT 2011
when compiling the DirectX SDK I'm getting lots of these warnings:
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include/d3d9.h(2025,0) : warning: '/*' within block comment
/* D3D9Ex interfaces
When compiling in MSVC I get no warnings. I'd like clang to match MSVC here because I can't modify the MSDX headers.
The code to emit that warning is in Lexer.cpp and I'm wondering whether it's worth predicating the check with a (!Features.Microsoft) check.
Does that sound reasonable?
More information about the cfe-dev