public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/205] New: math/bits/mathcalls.h contains empty macro arguments
@ 2004-06-05 13:21 antoine dot brodin at laposte dot net
  2004-06-05 19:30 ` [Bug math/205] " gotom at debian dot or dot jp
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: antoine dot brodin at laposte dot net @ 2004-06-05 13:21 UTC (permalink / raw)
  To: glibc-bugs

math/bits/mathcalls.h contains many empty macro arguments
Empty macro arguments are supported only since ISO/IEC 9899:1999.

-- 
           Summary: math/bits/mathcalls.h contains empty macro arguments
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: antoine dot brodin at laposte dot net
                CC: glibc-bugs at sources dot redhat dot com


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/205] math/bits/mathcalls.h contains empty macro arguments
  2004-06-05 13:21 [Bug libc/205] New: math/bits/mathcalls.h contains empty macro arguments antoine dot brodin at laposte dot net
@ 2004-06-05 19:30 ` gotom at debian dot or dot jp
  2004-06-07  8:00 ` aj at suse dot de
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: gotom at debian dot or dot jp @ 2004-06-05 19:30 UTC (permalink / raw)
  To: glibc-bugs


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/205] math/bits/mathcalls.h contains empty macro arguments
  2004-06-05 13:21 [Bug libc/205] New: math/bits/mathcalls.h contains empty macro arguments antoine dot brodin at laposte dot net
  2004-06-05 19:30 ` [Bug math/205] " gotom at debian dot or dot jp
@ 2004-06-07  8:00 ` aj at suse dot de
  2004-06-07  9:13 ` antoine dot brodin at laposte dot net
  2004-08-10  2:04 ` drepper at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: aj at suse dot de @ 2004-06-07  8:00 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aj at suse dot de  2004-06-07 08:00 -------
Where did you hit this?  What compiler cannot handle this?

-- 


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/205] math/bits/mathcalls.h contains empty macro arguments
  2004-06-05 13:21 [Bug libc/205] New: math/bits/mathcalls.h contains empty macro arguments antoine dot brodin at laposte dot net
  2004-06-05 19:30 ` [Bug math/205] " gotom at debian dot or dot jp
  2004-06-07  8:00 ` aj at suse dot de
@ 2004-06-07  9:13 ` antoine dot brodin at laposte dot net
  2004-08-10  2:04 ` drepper at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: antoine dot brodin at laposte dot net @ 2004-06-07  9:13 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From antoine dot brodin at laposte dot net  2004-06-07 09:13 -------
(In reply to comment #2)
> Where did you hit this?  What compiler cannot handle this?

I got problems with latest TenDRA ( http://www.ten15.org ) when 
I'm compiling the ansi API.
I've got this type of errors : Argument "n" for macro '"nm"' is empty.
The commit log of tendra/src/producers/common/utility/catalog.err says :
  Empty macro arguments unconditionally invoke undefined bevahiour in C90,
  change cpp_replace_arg_empty to reflect this.  Disable the error message for
  the C99 environment.


-- 


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug math/205] math/bits/mathcalls.h contains empty macro arguments
  2004-06-05 13:21 [Bug libc/205] New: math/bits/mathcalls.h contains empty macro arguments antoine dot brodin at laposte dot net
                   ` (2 preceding siblings ...)
  2004-06-07  9:13 ` antoine dot brodin at laposte dot net
@ 2004-08-10  2:04 ` drepper at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: drepper at redhat dot com @ 2004-08-10  2:04 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2004-08-10 02:04 -------
There is no way we are changing this.  If your compiler sucks, use a better one.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-08-10  2:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-05 13:21 [Bug libc/205] New: math/bits/mathcalls.h contains empty macro arguments antoine dot brodin at laposte dot net
2004-06-05 19:30 ` [Bug math/205] " gotom at debian dot or dot jp
2004-06-07  8:00 ` aj at suse dot de
2004-06-07  9:13 ` antoine dot brodin at laposte dot net
2004-08-10  2:04 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).