This is the mail archive of the gcc-bugs@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]

[Bug go/77715] go-system.h includes C++ header files before GCC system.h


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.

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