mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
* math/complex.h: Don't define _Complex macro for gcc 3. Add __extension__ to _Complex_I definition since gcc warns if -pedantic. * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
This commit is contained in:
@ -151,7 +151,7 @@ __MATH_PRECNAME(creal) (_Mdouble_complex_ __z) __THROW
|
||||
extern __inline _Mdouble_complex_
|
||||
__MATH_PRECNAME(conj) (_Mdouble_complex_ __z) __THROW
|
||||
{
|
||||
return ~__z;
|
||||
return __extension__ ~__z;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user