I want to make a binding for zig for a C++ library, in addition to this library was developed more with a bias to msvc compiler, using their specification, I managed to build a seemingly static library through clang20 with minor edits, but alas for zig I was able to do so, I understand correctly that still zig has not quite clang? I’m stuck on the point that I have a lot of errors because of (std::char_traits)
C:\Users\\\User\\AppData\\Roaming\\\Code\User\\\globalStorage\\\zig\\zig\\windows-x86_64-0.15.0-dev.151 +6e8493daa\\\lib\libcxx\include/string:2505:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
traits_type::assign(__p[__old_sz], value_type());
^
I understand I need libstdcc, I seem to have specified it via lib.linkSystemLibrary(“stdc++”) but the situation hasn’t changed much. Please tell me what I am doing wrong, here is my build.zig