This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
- From: "sje at cup dot hp.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Aug 2011 20:55:15 +0000
- Subject: [Bug libstdc++/50153] hppa64-hp-hpux11.11/libstdc++-v3/include/cstdlib:106:11: error: '::abs' has not been declared
- Auto-submitted: auto-generated
- References: <bug-50153-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50153
--- Comment #9 from Steve Ellcey <sje at cup dot hp.com> 2011-08-23 20:55:15 UTC ---
I think all I need to do is expand the existing hpux11_abs fixinclude rule
from 'ia64-hp-hpux11*' to '*-hp-hpux11*' I am currently testing this.
The other checks for '__cplusplus < 199707L' in the header files don't
like like they should cause problems. They set NULL to 0 (old) vs. 0L (new),
add a define for _WCHAR_T, and set some macros to specify that the long long
type is always available. I think all those things should be OK.
I am testing my patch but had some system problems over night so I don't have a
complete bootstrap and test yet.