When we ported our code from CVI to Visual Studio .NET (version 7.0), we kept getting these warnings:
c:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\WinNT.h(4779) : warning C4005: 'THREAD_BASE_PRIORITY_MIN' : macro redefinition
c:\Program Files\National Instruments\MeasurementStudio\CVI\include\cvidef.h(140) : see previous definition of 'THREAD_BASE_PRIORITY_MIN'
The values were the same, but the cvidef.h/windows.h defines it twice.
2) We also saw other defines that actually had different values. I forgot which ones they were, and how we fixed it in our code to make it go away.