[llvm-bugs] [Bug 36479] New: libc++'s <stdlib.h>, <math.h>, <cstdlib>, <cmath> provide wrong overload sets for abs

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 22 13:48:29 PST 2018


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

            Bug ID: 36479
           Summary: libc++'s <stdlib.h>, <math.h>, <cstdlib>, <cmath>
                    provide wrong overload sets for abs
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

libc++ does not implement the resolution of LWG issue 2192:

  https://cplusplus.github.io/LWG/issue2192

This results in the wrong value being produced for uses of abs() after only one
of math.h / stdlib.h is included.

-- 
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/20180222/604264aa/attachment.html>


More information about the llvm-bugs mailing list