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
The default C++ standard in cl is C++14. And using that for packetWin7/Dll/Packet32.cpp works fine.
But using -std:c++20 or -std:c++latest does not. This is what I did:
cd packetWin7\Dll\Project
setCL=-std:c++20
msbuild -nologo -p:Configuration=Release -p:Platform="x64" Packet.sln
The errors generated by MSVC version 19.42.34321.1 for x64 (the latest):
Googling this issue seems to be related to option /Za which is not in use.
And further, using -std:c++20 or -std:c++latest with clang-cl ver. 18.1 works just fine.
So I'm not sure what is the real issue with the Packet32.cpp code.
The text was updated successfully, but these errors were encountered:
The default C++ standard in
cl
is C++14. And using that forpacketWin7/Dll/Packet32.cpp
works fine.But using
-std:c++20
or-std:c++latest
does not. This is what I did:The errors generated by MSVC version 19.42.34321.1 for x64 (the latest):
Googling this issue seems to be related to option
/Za
which is not in use.And further, using
-std:c++20
or-std:c++latest
with clang-cl ver. 18.1 works just fine.So I'm not sure what is the real issue with the
Packet32.cpp
code.The text was updated successfully, but these errors were encountered: