This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH 3/6] Emit macro expansion related diagnostics
On Tue, Oct 18, 2011 at 10:19 AM, Joseph S. Myers
> 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).
any reason we could not call it location_type? or just location?