This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/77715] go-system.h includes C++ header files before GCC system.h
- From: "dje at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 26 Sep 2016 17:26:45 +0000
- Subject: [Bug go/77715] go-system.h includes C++ header files before GCC system.h
- Auto-submitted: auto-generated
- References: <bug-77715-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77715
David Edelsohn <dje at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-09-26
CC| |tony.reix at atos dot net
Ever confirmed|0 |1
--- Comment #1 from David Edelsohn <dje at gcc dot gnu.org> ---
Confirmed.
Note that GCC system.h currently does not include hooks for all of the C++
headers used by go-system.h.
The detailed problem is the inclusion of the C++ headers inhibit the definition
of PRIx64 and PRIu64 on AIX. One could include specific code in go-system.h to
define those macros for AIX, but that has not been the solution used in other
parts of the compiler that wish to utilize standard C++ header file features.