This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Another libstdc++ build failure on hppa1.1-hp-hpux10.20: strtoll and strtoull undeclared
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: Another libstdc++ build failure on hppa1.1-hp-hpux10.20: strtoll and strtoull undeclared
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Tue, 6 Nov 2001 13:56:18 -0500
- Cc: gcc-bugs at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- References: <20011105200733.A349@disaster.jaj.com> <200111060543.fA65hulo001299@hiauly1.hia.nrc.ca>
On Tue, Nov 06, 2001 at 12:43:55AM -0500, John David Anglin wrote:
> As far as I can tell, these two functions were not tested for by configure:
Well, they /are/ being tested for; the line numbers below are correct.
The contents of the test program are only dumped into config.log when a
test fails. These tests are incorrectly succeeding...
> Hmmm. The configure doesn't link the program. With C, it isn't an error
> to have an undeclared function. If you used g++, you would get an error:
...because we're using the wrong language to do the test.
Benjmain, Gaby, anyone? Did we intentionally choose to use C for this test,
or is it just an oversight? When I get a chance to do a build today,
I'll try changing this to C++ and if nothing strange breaks (why would
it?) I'll check it in.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams