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: unassignedclangb...@nondot.org
Reporter: richard-l...@metafoo.co.uk
CC: llvm-bugs@lists.llvm.org, mclow.li...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs