04-15-2016 12:40 AM
Hello NI,
the second part of my earlier post here failed to get noticed so I dedicate an extra message for it
When compiling (in CVI2015f1) with
#include <windows.h>
and extended warning level I receive the following warnings:
"winnt.h"(8780,19) warning: cast from function call of type 'LONG64' (aka 'long long') to non-matching type 'PVOID' (aka 'void *')
"winnt.h"(8791,19) warning: cast from function call of type 'LONG64' (aka 'long long') to non-matching type 'PVOID' (aka 'void *')
"winnt.h"(8802,19) warning: cast from function call of type 'LONG64' (aka 'long long') to non-matching type 'PVOID' (aka 'void *')
My suggestion is to update the include file, thanks!
04-15-2016 06:40 AM
09-22-2020 03:33 PM
Is there a way to selectively silence these warnings? The code I inherited was being built without detailed warnings, and when I crank them up I find tons of casting issues to resolve, but I'd like to get a clean build which seems impossible with these windows header file warnings in the mix.