re PR bootstrap/66319 (gcov-tool.c:84:65: error: invalid conversion from 'int (*...
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 6 Jun 2015 18:33:06 +0000 (18:33 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 6 Jun 2015 18:33:06 +0000 (18:33 +0000)
commit08b5b29ea7436d16ea776d2268ce2174d323b9a6
treeacabbc963d6fe576ff1187745b43a52b58e9562c
parent7dde99260b2cd1585cd95f9fd67a2d2d76ea93d3
re PR bootstrap/66319 (gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)')

PR bootstrap/66319
* config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Rearrange builtin
defines.  Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE for c++.
Define _XOPEN_UNIX and _XOPEN_SOURCE_EXTENDED for c++ if unix95 or
later.
* config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Likewise.
Define _INCLUDE_STDC_SOURCE_PRE_199901, _INCLUDE_STDC_SOURCE_199901,
_INCLUDE_XOPEN_SOURCE_PRE_500, _INCLUDE_XOPEN_SOURCE_520,
_INCLUDE_XOPEN_SOURCE_PRE_600 and _INCLUDE_XOPEN_SOURCE_600 for c++
and non iso if unix2003.

From-SVN: r224192
gcc/ChangeLog
gcc/config/pa/pa-hpux10.h
gcc/config/pa/pa-hpux11.h