This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

c++/5046: hypot declaration bug



>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==


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