From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Elizabeth Chastain To: gdb@sources.redhat.com, jskallal@home.com Subject: Re: Is GDB using reserved TYPEDEF identifiers? [REPOST] Date: Sat, 23 Jun 2001 21:15:00 -0000 Message-id: <200106240415.VAA19378@bosch.cygnus.com> X-SW-Source: 2001-06/msg00187.html 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 "love without fear"