[llvm-bugs] [Bug 24651] New: bootstrap on windows is broken

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 1 08:09:22 PDT 2015


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

            Bug ID: 24651
           Summary: bootstrap on windows is broken
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org,
                    rnk at google.com
    Classification: Unclassified

Created attachment 14803
  --> https://llvm.org/bugs/attachment.cgi?id=14803&action=edit
testcase

Building the attached test file with

$ clang -cc1 -triple x86_64-pc-windows-msvc18.0.0 -S -fms-compatibility
-std=c++11 -w -o foo.o SemaOpenMP.ii

produces the errors:


In file included from
C:\\Users\\espindola\\llvm\\llvm\\tools\\clang\\lib\\Sema\\SemaOpenMP.cpp:15:
In file included from
C:\\Users\\espindola\\llvm\\llvm\\tools\\clang\\lib\\Sema/TreeTransform.h:30:
In file included from
C:\\Users\\espindola\\llvm\\llvm\\tools\\clang\\include\clang/Sema/Lookup.h:19:
C:\\Users\\espindola\\llvm\\llvm\\tools\\clang\\include\clang/Sema/Sema.h:1087:41:
error: definition with same mangled name as another definition
    friend const SemaDiagnosticBuilder &operator<<(
                                        ^
C:\\Users\\espindola\\llvm\\llvm\\tools\\clang\\include\clang/Sema/Sema.h:1087:41:
note: previous definition is here
C:\\Users\\espindola\\llvm\\llvm\\tools\\clang\\include\clang/Sema/Sema.h:1087:41:
error: definition with same mangled name as another definition
    friend const SemaDiagnosticBuilder &operator<<(
                                        ^
C:\\Users\\espindola\\llvm\\llvm\\tools\\clang\\include\clang/Sema/Sema.h:1087:41:
note: previous definition is here
2 errors generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150901/8c305931/attachment.html>


More information about the llvm-bugs mailing list