This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14264] New: __THROW macro in /usr/include/env.h
- From: "nizar at huji dot ac.il" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 19 Jun 2012 07:34:30 +0000
- Subject: [Bug libc/14264] New: __THROW macro in /usr/include/env.h
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14264
Bug #: 14264
Summary: __THROW macro in /usr/include/env.h
Product: glibc
Version: 2.14
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: unassigned@sourceware.org
ReportedBy: nizar@huji.ac.il
CC: drepper.fsp@gmail.com
Classification: Unclassified
Functions defined in fenv.h are all defined like:
extern int feclearexcept (int __excepts) __THROW;
This is resulting errors:
/usr/include/fenv.h: In function 'int feclearexcept(int)':
/usr/include/fenv.h:66:42: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int fegetexceptflag(fexcept_t*, int)':
/usr/include/fenv.h:70:64: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int feraiseexcept(int)':
/usr/include/fenv.h:73:42: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int fesetexceptflag(const fexcept_t*, int)':
/usr/include/fenv.h:77:72: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int fetestexcept(int)':
/usr/include/fenv.h:81:41: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int fegetround()':
/usr/include/fenv.h:87:30: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int fesetround(int)':
/usr/include/fenv.h:90:50: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int fegetenv(fenv_t*)':
/usr/include/fenv.h:97:38: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int feholdexcept(fenv_t*)':
/usr/include/fenv.h:102:42: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int fesetenv(const fenv_t*)':
/usr/include/fenv.h:106:46: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int feupdateenv(const fenv_t*)':
/usr/include/fenv.h:111:49: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int feenableexcept(int)':
/usr/include/fenv.h:124:43: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int fedisableexcept(int)':
/usr/include/fenv.h:129:44: error: expected primary-expression before ',' token
/usr/include/fenv.h: In function 'int fegetexcept()':
/usr/include/fenv.h:132:31: error: expected primary-expression before ',' token
taking out __THROW(as I'm not familiar with C and glibc), i,e making functions
like:
extern int feclearexcept (int __excepts);
solves all problems.
N.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.