Bug 795995 - math-finite.h lacks __THROW
Summary: math-finite.h lacks __THROW
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 16
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jeff Law
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-22 00:41 UTC by Rob Hulswit
Modified: 2016-11-24 16:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-22 18:25:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rob Hulswit 2012-02-22 00:41:50 UTC
Description of problem:

If <math.h> is included in a C++ file, with the flags -pedantic and -ffast-math, the compilation fails with a lot of errors about different
exception specifiers in mathcalls.h and math-finite.h

Version-Release number of selected component (if applicable):

glibc.x86_64 2.14.90-24.fc16.4

How reproducible:

Steps to Reproduce:
1. Execute the command
echo '#include <math.h>' | g++ -pedantic -ffast-math -O2 -xc++ - -S -o /dev/null
prints
  
Actual results:
Lots of errors about different exception specifiers.

Expected results:
No errors.

Additional info:

This is the upstream bug page:
http://sourceware.org/bugzilla/show_bug.cgi?id=13484

Comment 1 Rob Hulswit 2012-02-22 00:48:27 UTC
As far as I can see, the glibc commit that fixed this can be found at

http://sourceware.org/git/?p=glibc.git;a=commit;h=8ef4f244ff7116fa1b5d88e69c83bb1bcc85afc6

Comment 2 Jeff Law 2012-02-22 18:25:13 UTC
This is fixed in rawhide & f17.  I'm not planning to backport this change to f15/f16.


Note You need to log in before you can comment on or make changes to this bug.