From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: Michael Elizabeth Chastain Cc: gdb@sources.redhat.com, jskallal@home.com Subject: Re: Is GDB using reserved TYPEDEF identifiers? [REPOST] Date: Mon, 25 Jun 2001 05:04:00 -0000 Message-id: References: <200106240415.VAA19378@bosch.cygnus.com> X-SW-Source: 2001-06/msg00191.html On Sat, 23 Jun 2001, Michael Elizabeth Chastain wrote: > 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 Note that Posix (at least the draft I have) does not explicitly say that the names with the suffix _t are reserved. It just says that all Posix headers use such names, which therefore might conflict with the application. By contrast, the above Single unix Spec _does_ in fact say such names are reserved. > 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). I agree.