Closed beranos closed 3 years ago
Will take a look once I get back home
Is there any chance you can get me a minimal recreation? Or at least some more info like the compiler version?
Is there any chance you can get me a minimal recreation? Or at least some more info like the compiler version?
how can i get the compiler version? i'm guessing it's the last one since i downloaded it from the visual studio installer 2/3 weeks ago
can't really recreate man. I need something more concrete like a reproduction
i guess this can be closed then, it must be a problem with my project but the project is so big so i don't even know what can use it.
Sorry that I couldn't help. Haven't ever even seen that error before 🤷
Sorry that I couldn't help. Haven't ever even seen that error before 🤷
found out why that happend, i had a line that did this: if (x) return xorstr_(L"empty");
removing that line fixed that error btw i use that exact same string somewhere else but without wide character literals and wide-character string and removing that i get no error with the code above
if (x)
return xorstr_(L"empty");
This is not valid usage in the first place. It returns a pointer to buffer that was in the called functions frame.
ok
Justas Masiulis notifications@github.com 于 2020年9月26日周六 下午8:48写道:
if (x) return xorstr_(L"empty");
This is not valid usage in the first place. It returns a pointer to buffer that was in the called functions frame.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JustasMasiulis/xorstr/issues/31#issuecomment-699491333, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVYBZTCC4JDQVMKU653LBTSHXPJVANCNFSM4QLJR6GA .
hi i'm trying to compile this with clang but i'm getting the following errors ( 2 ):
i can build this fine with msvc tho