Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Is GDB using TYPEDEF identifiers?
@ 2001-06-21 10:21 John S. Kallal
  2001-06-21 20:20 ` Daniel Berlin
  2001-06-22  1:32 ` Eli Zaretskii
  0 siblings, 2 replies; 3+ messages in thread
From: John S. Kallal @ 2001-06-21 10:21 UTC (permalink / raw)
  To: gdb

I think that POSIX reserves all identifiers defined with a typedef statement 
that that end with the characters "_t" for use within the POSIX header files.
I note that the GDB source code uses a lot a such identifiers.  Should 
we change to another suffix such as "_td" and document that requirement
in the GDB coding rules within file 'gdbint.texinfo'?

John S. Kallal


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

* Re: Is GDB using TYPEDEF identifiers?
  2001-06-21 10:21 Is GDB using TYPEDEF identifiers? John S. Kallal
@ 2001-06-21 20:20 ` Daniel Berlin
  2001-06-22  1:32 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Berlin @ 2001-06-21 20:20 UTC (permalink / raw)
  To: John S. Kallal; +Cc: gdb

On Thu, 21 Jun 2001, John S. Kallal wrote:

> I think that POSIX reserves all identifiers defined with a typedef statement
> that that end with the characters "_t" for use within the POSIX header files.
> I note that the GDB source code uses a lot a such identifiers.  Should
> we change to another suffix such as "_td" and document that requirement
> in the GDB coding rules within file 'gdbint.texinfo'?

Um, why?
POSIX says a lot of things that are well, dumb.
This is just one of them.

Besides, GDB is not beholden to POSIX.

When the C 'XX standard says not to do it, we'd probably stop doing it.

--Dan


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

* Re: Is GDB using TYPEDEF identifiers?
  2001-06-21 10:21 Is GDB using TYPEDEF identifiers? John S. Kallal
  2001-06-21 20:20 ` Daniel Berlin
@ 2001-06-22  1:32 ` Eli Zaretskii
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2001-06-22  1:32 UTC (permalink / raw)
  To: jskallal; +Cc: gdb

> From: "John S. Kallal" <jskallal@home.com>
> Date: Thu, 21 Jun 2001 13:24:43 -0400
> 
> I think that POSIX reserves all identifiers defined with a typedef statement 
> that that end with the characters "_t" for use within the POSIX header files.

It does?  Where? could you tell where can I find this ruling?


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

end of thread, other threads:[~2001-06-22  1:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-21 10:21 Is GDB using TYPEDEF identifiers? John S. Kallal
2001-06-21 20:20 ` Daniel Berlin
2001-06-22  1:32 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox