Is GDB using reserved TYPEDEF identifiers? [REPOST]

Eli Zaretskii eliz@is.elta.co.il
Mon Jun 25 05:04:00 GMT 2001


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.



More information about the Gdb mailing list