Could not build with clang 3.8

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
            Reporter:
            Pavel Odintsov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: