PR: Use a regular string not a raw string for MSVC2015

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.2
    • Affects Version/s: None
    • Component/s: Portability
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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.

              Assignee:
              David Golden
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: