SergiusTheBest / FindWDK

CMake module for building drivers with Windows Development Kit (WDK)
BSD 3-Clause "New" or "Revised" License
251 stars 53 forks source link

Fix the BUG that functions in intrin.h cannot be used even if it is i… #33

Closed Oxygen1a1 closed 2 months ago

Oxygen1a1 commented 2 months ago

Fix the BUG that functions in intrin.h cannot be used even if it is include

SergiusTheBest commented 2 months ago

@Oxygen1a1 What exact function is not working? I'm trying to add a sample code to demonstrate the issue .

Oxygen1a1 commented 2 months ago

@Oxygen1a1 What exact function is not working? I'm trying to add a sample code to demonstrate the issue .

intrinsic function from ,like _disable()、_enable() and so on

Oxygen1a1 commented 2 months ago

I have added the demonstrate of this issue and submitted it. hope you can accept this PR : ).

SergiusTheBest commented 2 months ago

@Oxygen1a1 That's weird as it compiles for me without any changes. What compiler do you use?

Oxygen1a1 commented 2 months ago

@Oxygen1a1 That's weird as it compiles for me without any changes. What compiler do you use?

I use vs2019 sdk&wdk version: 10.0.19041.0 with msvc complier

SergiusTheBest commented 2 months ago

@Oxygen1a1 Looks good! Thank you!