#pragma intrinsic(_rotr64) and other warnings in PSDK

#pragma intrinsic(_rotr64) and other warnings in PSDK

Post by U21lYWdvb » Sun, 08 Feb 2004 06:01:07


I just pointed my VC++ 6.0 Include paths to the PSDK include directory. I get tons of warnings as follows

D:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winnt.h(768) : error C2220: warning treated as error - no object file generate
D:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winnt.h(768) : warning C4163: '_rotl64' : not available as an intrinsic functio
D:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\winnt.h(770) : warning C4163: '_rotr64' : not available as an intrinsic functio

How do I get rid of these? Do I just #pragma ignore? Am I missing some required define

--Sme
 
 
 

#pragma intrinsic(_rotr64) and other warnings in PSDK

Post by U21lYWdvb » Sun, 08 Feb 2004 09:41:05

I have had to comment out lines 768 and 770 in WinNT.h from the February 2003 PSDK. Otherwise, I get those annoying warnings about _rotr64 & _rotl64 cannot be made intrinsic functions

???? Odd that I have to do this..

--Sme