https://bugs.llvm.org/show_bug.cgi?id=36261

            Bug ID: 36261
           Summary: Compilation error in std::tuple when using
                    -fmodules-ts and -std=c++17
           Product: libc++
           Version: 5.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: kumaran.santha...@gmail.com
                CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com

Created attachment 19821
  --> https://bugs.llvm.org/attachment.cgi?id=19821&action=edit
compile.sh

1. Install Clang 5.0
2. Download http://releases.llvm.org/5.0.1/libcxx-5.0.1.src.tar.xz
3. Untar the package into a directory
4. Save the attached compile.sh script into the directory
5. ./compile.sh -std=c++11
6. ./compile.sh -std=c++17

Using -std=c++11 succeeds while using -std=c++17 produces a compilation error.

The problem appears to be in the #ifdef block starting at line 993 in the
libcxx-5.0.1.src/include/tuple header file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to