-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Portability
-
None
https://github.com/mongodb/mongo-cxx-driver/pull/521
Visual Studio finds a bunch of syntax errors on this line with the raw string, so it fails to compile mongo_cxx's test suite. It seems to start failing at "id1"; I'm guessing that it thinks the string ends at that point, maybe because of the escaped quote or because of the macro expansion or some combination of the above. (There are several other raw strings in the file; they are all simpler strings, but they all compile fine.)
This fixes the test-build on Visual Studio by rewriting this string as a regular (non-raw) string.