When Bazel compiles C++ files it prints out file paths with the forward slashes, like this:
Compiling src/cpp/test/ActivityContextProxyTest.cpp; 6s local
Compiling src/cpp/main/MetricsMonitor.cpp; 6s local
Same when it displays compilation errors:
external/art-cpp/src/cpp/test/TStringAssertionTraits.cpp(18): error C2143: syntax error: missing ';' before 'CppUnit::assertion_traits<TString>::equal'
external/art-cpp/src/cpp/test/TStringAssertionTraits.cpp(18): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
This creates a problem for Visual Studio on Windows - it does not understand forward slashes, so clicking on the error to navigate to source does not work.
Is there a way to make Bazel print backslashes in the paths on Windows? At least in the compiler error messages.
Thank you!
Konstantin