You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could we please have this library support C++ 17 and C++ 20 along with the existing support for C++14? Currently if I build with C++ 14 there are no issues but when switching to C++20, I get errors about ambiguous data type, see below. For example std::byte added since C++ 17 is causing an ambiguity. Also, auto_ptr are not supported since C++ 17, probably can be replaced by unique_ptr.
I think, if "using namespaces" are used only in C++ files after the last #include the issue would be fixed. In header files full qualifiers must be used.
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\rpcndr.h(192,14): error C2872: 'byte': ambiguous symbol
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\rpcndr.h(191,23): message : could be 'unsigned char byte'
1>C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\cstddef(28,12): message : or 'std::byte'
Thanks.
The text was updated successfully, but these errors were encountered:
Could we please have this library support C++ 17 and C++ 20 along with the existing support for C++14? Currently if I build with C++ 14 there are no issues but when switching to C++20, I get errors about ambiguous data type, see below. For example std::byte added since C++ 17 is causing an ambiguity. Also, auto_ptr are not supported since C++ 17, probably can be replaced by unique_ptr.
I think, if "using namespaces" are used only in C++ files after the last #include the issue would be fixed. In header files full qualifiers must be used.
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\rpcndr.h(192,14): error C2872: 'byte': ambiguous symbol
1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\rpcndr.h(191,23): message : could be 'unsigned char byte'
1>C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\include\cstddef(28,12): message : or 'std::byte'
Thanks.
The text was updated successfully, but these errors were encountered: