c++/5046: hypot declaration bug
ot14@columbia.edu
ot14@columbia.edu
Fri Dec 7 13:17:00 GMT 2001
>Number: 5046
>Category: c++
>Synopsis: hypot declaration bug
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 07 13:06:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Oleg Trott
>Release: 2.95.4
>Organization:
>Environment:
Debian Woody, Linux 2.2.19
>Description:
/usr/include/bits/mathcalls.h:150 and
/usr/include/g++-3/std/complext.h:314 seem to provide
conflicting declarations of "hypot" (throwing different
exceptions)
>How-To-Repeat:
#include <complex>
into any file
and compile with "-pedantic"
>Fix:
none
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="hypot_bug.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="hypot_bug.cpp"
I2luY2x1ZGUgPGNvbXBsZXg+CgppbnQgbWFpbigpIHsKICAgIHJldHVybiAwOwp9Cg==
More information about the Gcc-bugs
mailing list