public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/50874] New: loc_t in tree-diagnostics.c conflicts with system header on AIX
@ 2011-10-26 14:54 greed at pobox dot com
2012-10-24 23:11 ` [Bug target/50874] " dje at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: greed at pobox dot com @ 2011-10-26 14:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50874
Bug #: 50874
Summary: loc_t in tree-diagnostics.c conflicts with system
header on AIX
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: greed@pobox.com
Host: powerpc-ibm-aix5.3.0.0
Target: powerpc-ibm-aix5.3.0.0
Build: powerpc-ibm-aix5.3.0.0
Created attachment 25616
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25616
Rename loc_t to lincol_t
SVN Trunk revision 180430 fails to compile on AIX 5.3 TL4, with this error:
/mnts/cdstools/build/source/gcc-r180430/gcc/tree-diagnostic.c:59: error:
conflicting types for ‘loc_t’
Grepping around the system headers, I find a typedef struct localeinfo_table to
loc_t in /usr/include/sys/localedef31.h. I've verified this is present in AIX
5.3 TL4, 6.1 and 7.3.
As the use of 'loc_t' is isolated to tree-diagnostic.c, I simply renamed it to
'lincol_t' so I could get on with things. I've attached the diff, but someone
is far more than welcome to come up with a better name that doesn't conflict
with AIX. (Or someone could make it so AIX never appears in my life again,
that would work too.)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/50874] loc_t in tree-diagnostics.c conflicts with system header on AIX
2011-10-26 14:54 [Bug target/50874] New: loc_t in tree-diagnostics.c conflicts with system header on AIX greed at pobox dot com
@ 2012-10-24 23:11 ` dje at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: dje at gcc dot gnu.org @ 2012-10-24 23:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50874
David Edelsohn <dje at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |dje at gcc dot gnu.org
Resolution| |FIXED
--- Comment #1 from David Edelsohn <dje at gcc dot gnu.org> 2012-10-24 23:11:22 UTC ---
This was fixed 2011-11-29.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-24 23:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-26 14:54 [Bug target/50874] New: loc_t in tree-diagnostics.c conflicts with system header on AIX greed at pobox dot com
2012-10-24 23:11 ` [Bug target/50874] " dje at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).