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
Finally I don't know how to solve following errors because I am not a C++ developer but a golang developer QAQ
G:\protobuf-3.19.4\src\google\protobuf\arena_impl.h(534,44): error : alignment (64) of thread-local variable 'thread_cache' is greater than the maximum supported alignment (32) for a thread-local variable on this target [G:\protobuf-3.19.4\cmake\build\PS4\libprotobuf.vcxproj]
G:\protobuf-3.19.4\src\google\protobuf\stubs\mutex.h(124,13): error : constexpr constructor never produces a constant expression [-Winvalid-constexpr] [G:\protobuf-3.19.4\cmake\build\PS4\libprotobuf.vcxproj]
The text was updated successfully, but these errors were encountered:
Environment:
Encountered following problems:
I made it work by changing the specified c++ version from 11 to 14 in CMakeList.txt
Compiler can't find this header file because I am building these files on Windows platform. It works after I modified this code block to
The text was updated successfully, but these errors were encountered: