public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4000] New: <argp.h> has a buggy __NTH macro definition
@ 2007-02-07 23:58 madcoder at debian dot org
  2007-02-07 23:59 ` [Bug libc/4000] " madcoder at debian dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: madcoder at debian dot org @ 2007-02-07 23:58 UTC (permalink / raw)
  To: glibc-bugs

well not strictly "buggy" but a differnt one from <sys/cdefs.h> which is 
rather surprising.

Here is a patche to have the same one as in <sys/cdefs.h>.
Note that maybe #including <sys/cdefs.h> is better, I'm not very used to such 
things yet.

-- 
           Summary: <argp.h> has a buggy __NTH macro definition
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: madcoder at debian dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4000

------- 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] 4+ messages in thread

* [Bug libc/4000] <argp.h> has a buggy __NTH macro definition
  2007-02-07 23:58 [Bug libc/4000] New: <argp.h> has a buggy __NTH macro definition madcoder at debian dot org
@ 2007-02-07 23:59 ` madcoder at debian dot org
  2007-02-12 12:37 ` jakub at redhat dot com
  2007-02-12 14:42 ` madcoder at debian dot org
  2 siblings, 0 replies; 4+ messages in thread
From: madcoder at debian dot org @ 2007-02-07 23:59 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From madcoder at debian dot org  2007-02-07 23:59 -------
Created an attachment (id=1545)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1545&action=view)
copy __NTH (and __THROW) definition from <sys/cdefs.h>


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4000

------- 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] 4+ messages in thread

* [Bug libc/4000] <argp.h> has a buggy __NTH macro definition
  2007-02-07 23:58 [Bug libc/4000] New: <argp.h> has a buggy __NTH macro definition madcoder at debian dot org
  2007-02-07 23:59 ` [Bug libc/4000] " madcoder at debian dot org
@ 2007-02-12 12:37 ` jakub at redhat dot com
  2007-02-12 14:42 ` madcoder at debian dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at redhat dot com @ 2007-02-12 12:37 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jakub at redhat dot com  2007-02-12 12:37 -------
sys/cdefs.h is already included when you include argp.h (stdio.h includes
features.h which includes sys/cdefs.h), the define is there
just for the case where argp.h is used standalone as part of gnulib on non-glibc
system.
Your patch only makes things worse, no header should ever undef these macros.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4000

------- 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] 4+ messages in thread

* [Bug libc/4000] <argp.h> has a buggy __NTH macro definition
  2007-02-07 23:58 [Bug libc/4000] New: <argp.h> has a buggy __NTH macro definition madcoder at debian dot org
  2007-02-07 23:59 ` [Bug libc/4000] " madcoder at debian dot org
  2007-02-12 12:37 ` jakub at redhat dot com
@ 2007-02-12 14:42 ` madcoder at debian dot org
  2 siblings, 0 replies; 4+ messages in thread
From: madcoder at debian dot org @ 2007-02-12 14:42 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From madcoder at debian dot org  2007-02-12 14:42 -------
(In reply to comment #2)
> sys/cdefs.h is already included when you include argp.h (stdio.h includes
> features.h which includes sys/cdefs.h), the define is there
> just for the case where argp.h is used standalone as part of gnulib on
> non-glibc system.
> Your patch only makes things worse, no header should ever undef these
> macros.

okay that makes sense. thanks for the explanation, I suppose you can close the 
bug then (i'll even do it).

Cheers,

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


http://sourceware.org/bugzilla/show_bug.cgi?id=4000

------- 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] 4+ messages in thread

end of thread, other threads:[~2007-02-12 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-07 23:58 [Bug libc/4000] New: <argp.h> has a buggy __NTH macro definition madcoder at debian dot org
2007-02-07 23:59 ` [Bug libc/4000] " madcoder at debian dot org
2007-02-12 12:37 ` jakub at redhat dot com
2007-02-12 14:42 ` madcoder at debian dot org

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