views:

30

answers:

0

I'm trying to lint the source files from a VS 2008 project of mine, but although headers files are processed correctly, cpp files are not.

Lint process is stopped and this error is shown:

#error _WIN32_WINNT settings conflicts with _WIN32_IE setting C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\sdkddkver.h(217) : Error 309: #error _WIN32_WINNT settings conflicts with _WIN32_IE setting

My config lnt file uses the following libs and include directories:

lib-w32.LNT

lib-win.LNT

lib-mfc.lnt

co-msc90.lnt

lib-atl.lnt

lib-stl.lnt

lib-wnt.lnt

"C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE"

"C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE"

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include"

"C:\Program Files\Microsoft SDKs\Windows\v5.0\Include"

Does anyone knows what's wrong? If i remove the latter two include directories, the process also stops with an error complaining of a missing windows.h .

I'm using PC lint 8.00x