This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/6] Emit macro expansion related diagnostics


On Tue, 18 Oct 2011, David Edelsohn wrote:

> Hey, Dodji,
> 
> Your patch broke bootstrap on AIX because of the typedef "loc_t"
> introduced in tree-diagnostics.c.  The typedef conflicts with a
> typedef in an AIX 5.3 header file for locales.  AIX should not be
> using that namespace, but the failure occurs before fix-includes, so
> it is not possible to fix it there.

The whole *_t namespace is reserved by POSIX, so it's not unreasonable for 
AIX to have some AIX-specific *_t typedefs although it seems quite rare 
for this to cause conflicts in practice (and AIX is obviously risking 
conflicts with future POSIX revisions by using *_t for its own types).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]