Is GDB using reserved TYPEDEF identifiers? [REPOST]
Michael Elizabeth Chastain
chastain@cygnus.com
Sat Jun 23 21:15:00 GMT 2001
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"
More information about the Gdb
mailing list