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
There are some gcc specific copts in the BUILD files. If I remove them I get errors like error C2491: 'antlr4::dfa::Vocabulary::EMPTY_VOCABULARY': definition of dllimport static data member not allowed and the build fails.
Is building this project under Windows using MSVC supported. Does anyone have any pointers how to make it work?
Full example
If I try to build e.g. the r4 json_format C++ library using bazel build //cc/google/fhir/r4:json_format I get the following errors
If I remove the -Wno-implicit-falltrough from the copts in bazel/antlr.BUILD and change the -cxxopt in .bazelrc from build --cxxopt=-std=c++17 to the msvc format build --cxxopt=/std:c++17 I get the following errors
tl;dr
There are some gcc specific copts in the BUILD files. If I remove them I get errors like
error C2491: 'antlr4::dfa::Vocabulary::EMPTY_VOCABULARY': definition of dllimport static data member not allowed
and the build fails.Is building this project under Windows using MSVC supported. Does anyone have any pointers how to make it work?
Full example
If I try to build e.g. the r4 json_format C++ library using
bazel build //cc/google/fhir/r4:json_format
I get the following errorsIf I remove the
-Wno-implicit-falltrough
from thecopts
in bazel/antlr.BUILD and change the-cxxopt
in.bazelrc
frombuild --cxxopt=-std=c++17
to the msvc formatbuild --cxxopt=/std:c++17
I get the following errorsThe text was updated successfully, but these errors were encountered: