Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error C3861: '__builtin_ctz': identifier not found #16

Closed
AkumaRRR opened this issue May 14, 2021 · 1 comment
Closed

error C3861: '__builtin_ctz': identifier not found #16

AkumaRRR opened this issue May 14, 2021 · 1 comment

Comments

@AkumaRRR
Copy link

In compiling the project I get

C:\Users\XXX\vmpdump-master\VMPDump\winpe\nt_headers.hpp(183,75): error C3861: '__builtin_ctz': identifier
 not found [C:\Users\XXX\vmpdump-master\build\VMPDump\VMPDump.vcxproj]
  module_view.cpp
C:\Users\XXX\vmpdump-master\VMPDump\winpe\nt_headers.hpp(183,75): error C3861: '__builtin_ctz': identifier
 not found [C:\Users\XXX\vmpdump-master\build\VMPDump\VMPDump.vcxproj]
  pe_constructor.cpp
C:\Users\XXX\vmpdump-master\VMPDump\winpe\nt_headers.hpp(183,75): error C3861: '__builtin_ctz': identifier
 not found [C:\Users\XXX\vmpdump-master\build\VMPDump\VMPDump.vcxproj]
  vmpdump.cpp
C:\Users\XXX\vmpdump-master\VMPDump\winpe\nt_headers.hpp(183,75): error C3861: '__builtin_ctz': identifier
 not found [C:\Users\XXX\vmpdump-master\build\VMPDump\VMPDump.vcxproj]
@AkumaRRR
Copy link
Author

I managed to compile by using _tzcnt_u32 instead of __builtin_ctz.
I hope it works the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant