Closed AggamR closed 3 years ago
Hey, what compiler are you using and what options are you passing it?
https://pastebin.com/kD4FZYwY msvc debug x86
https://i.imgur.com/aMzVR1i.png with latest cpp standard
https://pastebin.com/kD4FZYwY msvc debug x86
Hi! As it says at the top of the ReadMe, this only compiles with GCC right now. MSVC doesn't support C++20 abbreviated function template syntax in any official release yet.
Ok sorry, I must have missed it
On Mon, Feb 8, 2021 at 7:16 PM Vito Gamberini notifications@github.com wrote:
https://pastebin.com/kD4FZYwY msvc debug x86
Hi! As it says at the top of the ReadMe, this only compiles with GCC right now. MSVC doesn't support C++20 abbreviated function template syntax in any official release yet.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SpockBotMC/cpp-nbt/issues/4#issuecomment-775553965, or unsubscribe https://github.com/notifications/unsubscribe-auth/APLSDRECFV3ALIJ533MQFMLS6B5EFANCNFSM4WIXMSSA .
This should now work with Visual Studio 16.9, which is still in pre-release but all the code compiles on Godbolt.
Hello! I'm tryna use your header file for a project, and the compiler spits 1000000 errors at me. I have simply used
#include "nbt.hpp"
in my code to check if it work.