[llvm-bugs] [Bug 36382] New: math.h included before __config

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 14 07:26:45 PST 2018


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

            Bug ID: 36382
           Summary: math.h included before __config
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: Christof.Douma at arm.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

A recent change (https://reviews.llvm.org/rL323490) added support for the MS
Windows platforms to include the C math.h header as the first thing in the C++
math.h. This creates a problem for C libraries that require some configuration
to provide the correct functionality for libc++.

Such configuration could be done in __config before, but now there is no such
place. Can we move __config to be included before the C math.h?

-- 
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/20180214/fb869a23/attachment.html>


More information about the llvm-bugs mailing list