This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Is GDB using TYPEDEF identifiers?




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]