This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Is GDB using reserved TYPEDEF identifiers? [REPOST]
- To: gdb at sources dot redhat dot com, jskallal at home dot com
- Subject: Re: Is GDB using reserved TYPEDEF identifiers? [REPOST]
- From: Michael Elizabeth Chastain <chastain at cygnus dot com>
- Date: Sat, 23 Jun 2001 21:15:40 -0700
John Kallal writes:
> 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.
The C standard (ISO/IEC 9899:1999) does not reserve these names,
but the Single Unix Specification does reserve all names with the
suffix "_t". Here's the reference:
http://www.opengroup.org/onlinepubs/7908799/xsh/compilation.html
> 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'?
That's up to the head maintainer.
My opinion is that we should do nothing until someone demonstrates
an actual problem on a specific configuration (specific host system,
specific Ansi C compiler, specific host triple, specific target triple).
It's a triage problem. There's plenty of other work that yields
more benefit for less effort.
Michael Elizabeth Chastain
<chastain@redhat.com>
"love without fear"