We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Enabling the -DLIBM2K_ENABLE_LOG flag, causes this compile error with MSVC-2022:
-DLIBM2K_ENABLE_LOG
context_impl.cpp(118): error C2872: 'INPUT': ambiguous symbol f:\gv\WinKit\Include\10.0.22621.0\um\winuser.h(6144): note: could be 'tagINPUT INPUT' F:\gv\dx-radio\gnuradio\gv-build\include\libm2k/utils/enums.hpp(37): note: or 'libm2k::utils::DEVICE_DIRECTION INPUT' context_impl.cpp(118): error C2275: 'INPUT': expected an expression instead of a type context_impl.cpp(127): error C2872: 'INPUT': ambiguous symbol ...
Since <winuser.h> was pulled in via <glog/logging.h> and <windows.h>. I fail to understand how to fix this.
<winuser.h>
<glog/logging.h>
<windows.h>
Perhaps include/libm2k/utils/enums.hpp could use less universal names like m2k_INPUT etc.?
include/libm2k/utils/enums.hpp
m2k_INPUT
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Enabling the
-DLIBM2K_ENABLE_LOG
flag, causes this compile error with MSVC-2022:Since
<winuser.h>
was pulled in via<glog/logging.h>
and<windows.h>
.I fail to understand how to fix this.
Perhaps
include/libm2k/utils/enums.hpp
could use less universal names likem2k_INPUT
etc.?The text was updated successfully, but these errors were encountered: