Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-865

Could not build with clang 3.8

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.1
    • Affects Version/s: None
    • Component/s: None
    • None

      Hello, folks!

      I'm trying to build C++ 11 mongo client library but could not do it:
      mongocxx/test/pool.cpp:146:5: error: no type named 'max_align_t' in namespace 'std'; did you mean simply 'max_align_t'?
      std::max_align_t dummy_address;
      ^~~~~~~~~~~~~~~~
      max_align_t
      /opt/dps/libraries/clang_3_8_0/bin/../lib/clang/3.8.0/include/__stddef_max_align_t.h:40:3: note: 'max_align_t' declared here
      } max_align_t;
      ^
      1 error generated.

      Could you fix it?

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            pavel.odintsov Pavel Odintsov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: