Aerospike C client windows compilation on Visual Studios

Visual Studios is giving me these complaints, but the project compiled. How do I get them resolved?

Thanks

Trust you have already read this page… https://www.aerospike.com/docs/client/c/install/windows.html

I received the messages from compiling the aerospike project in the VS example solution.

This seems to be caused by Intellisense. If I open the file in Visual Studios, for example, ck_pr.h, I get these errors listed in the error list, but it is not causing any compilation errors because I did not include the file, ck_pr.h, in any of the project source code.

ck_pr.h should never be included directly. It’s not a valid header on windows. Instead, include “as_atomic.h” which redirects to the correct concurrency routines.

as_atomic.h:

#if defined(_MSC_VER)
#include <aerospike/as_atomic_win.h>
#else
#include <aerospike/as_atomic_gcc.h>
#endif

_MSC_VER should automatically be defined in all Visual Studio projects. Maybe Intellisense does not realize _MSC_VER is defined. I do not have this problem when I compile/run the provided examples.