LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LabWindows 2015 warnings

I still get the Windows.h warnings after upgrading to CVI 2017 and I don't want to disable those warngins for the entire project, so I 'simply' do:

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wbad-function-cast"
#pragma clang diagnostic ignored "-Wused-but-marked-unused"
	#include <windows.h>
#pragma clang diagnostic pop
Message 11 of 11
(270 Views)