[PATCH] D75199: Build fix: Turn off _GLIBCXX_DEBUG on gcc 9

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 06:56:38 PST 2020


serge-sans-paille added a comment.

@nhaehnle : something like

  CHECK_CXX_SOURCE_COMPILES("
  #define _GLIBCXX_DEBUG
  #include <algorithm>
  
  int main(int argc, char ** argv) {
      static constexpr int data []= {0, 1};
      constexpr const int* min_elt  = std::min_element(&data[0], &data[2]) ;
      return 0;
  }" CXX_SUPPORTS_GLIBCXX8DEBUG)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75199/new/

https://reviews.llvm.org/D75199





More information about the llvm-commits mailing list