This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Is GDB using TYPEDEF identifiers?
- To: "John S. Kallal" <jskallal at home dot com>
- Subject: Re: Is GDB using TYPEDEF identifiers?
- From: Daniel Berlin <dan at www dot cgsoftware dot com>
- Date: Thu, 21 Jun 2001 23:19:52 -0400 (EDT)
- cc: <gdb at sources dot redhat dot com>
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