This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/25189] New: glibc's __glibc_has_include causes issues with clang -frewrite-includes


https://sourceware.org/bugzilla/show_bug.cgi?id=25189

            Bug ID: 25189
           Summary: glibc's __glibc_has_include causes issues with clang
                    -frewrite-includes
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: emilio at crisal dot io
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Which is necessary to to e.g., submit the translation unit to a distributed
compiler.

See https://bugs.llvm.org/show_bug.cgi?id=43982 for a reduced test-case since I 
initially thought this was a clang bug.                                         

Apparently doing this is invalid C++ per:                                       

 * http://eel.is/c++draft/cpp.cond#7.sentence-2                                 

(See https://bugs.llvm.org/show_bug.cgi?id=37990)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]