This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug math/205] math/bits/mathcalls.h contains empty macro arguments
- From: "gotom at debian dot or dot jp" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 5 Jun 2004 19:30:24 -0000
- Subject: [Bug math/205] math/bits/mathcalls.h contains empty macro arguments
- References: <20040605132136.205.antoine.brodin@laposte.net>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From gotom at debian dot or dot jp 2004-06-05 19:30 -------
It's true that empty macro arguments is allowed in C99 firstly.
I guess this breaks some other compilers like tendra, but at
the same time I wonder this type of macro is used for a long time.
I think to fix this problem is simply introduce the another define
not to use empty macro arguments. For example, define __MATHCALLF
does not use suffix and do:
__MATHCALLF (acos, (_Mdouble_ __x));
instead of
__MATHCALL (acos,, (_Mdouble_ __x));
Andreas, is it sufficient?
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|gotom at debian dot or dot |aj at suse dot de
|jp |
Component|libc |math
http://sources.redhat.com/bugzilla/show_bug.cgi?id=205
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.