[cfe-dev] Disabling Lexer warnings
Don Williamson
don.williamson at yahoo.com
Thu Sep 15 04:00:30 PDT 2011
Hi,
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?
Cheers,
- Don
More information about the cfe-dev
mailing list