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]

[committed] Update HP-UX builtin predefines


The trunk was changed recently for a period to build with "gcc -std=c++98".  This caused a build failure
on HP-UX because a non standard HP variant of the nftw function was selected.  The attached change
revises the hpux predefines so this won't happen.  In particular, we now define _XOPEN_SOURCE_EXTENDED
when building with c++.

I also reviewed the existing predefines and added some new ones for c++ and hpux11.31.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.  Committed to trunk and gcc-5 branch.

Dave
--
John David Anglin	dave.anglin@bell.net


Attachment: hpux-predef.d.txt
Description: Text document


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