ostringstream long long problem on Alpha/Tru64 with latest gcc3.2.1

Karel Gardas kgardas@objectsecurity.com
Mon Nov 18 03:27:00 GMT 2002


On Mon, 18 Nov 2002, Phil Edwards wrote:

> On Mon, Nov 18, 2002 at 10:11:29AM +0100, Karel Gardas wrote:
> >
> > PS: compilation with gcc w/o explicit long cast fails with:
>
> This output is what we actually needed to see, not the other.

Yes, I know, but other info were added just for your information...

>
> If you have your GCC build tree around still, look in
>
>     alphaev68-dec-osf5.1/libstdc++-v3/config.h
>
> for _GLIBCPP_USE_LONG_LONG, and in

// Include I/O support for 'long long' and 'unsigned long long'.
/* #undef _GLIBCPP_USE_LONG_LONG */

>
>     alphaev68-dec-osf5.1/libstdc++-v3/config.log
>
> for "checking for enabled long long I/O support".

configure:3693: checking for enabled ISO C99 support
configure:3741: checking for enabled long long I/O support
configure:3751: /cluster/members/member0/tmp/kgardas/obj/gcc/xgcc -shared-libgcc -B/cluster/members/member0/tmp/kgardas/obj/gcc/ -nostdinc++  -L/cluster/members/member0/tmp/kgardas/obj/alphaev68-dec-osf5.1/libstdc++-v3/src -L/cluster/members/member0/tmp/kgardas/obj/alphaev68-dec-osf5.1/libstdc++-v3/src/.libs -B/house/kgardas/usr/local/alpha-osf1//alphaev68-dec-osf5.1/bin/ -B/house/kgardas/usr/local/alpha-osf1//alphaev68-dec-osf5.1/lib/ -isystem /house/kgardas/usr/local/alpha-osf1//alphaev68-dec-osf5.1/include -c -g -O2 -mieee  conftest.C 1>&5
configure: In function `int main()':
configure:3747: `strtoll' undeclared (first use this function)
configure:3747: (Each undeclared identifier is reported only once for each
   function it appears in.)
configure: failed program was:
#line 3744 "configure"
#include "confdefs.h"
#include <stdlib.h>
int main() {
char* tmp; strtoll("gnu", &tmp, 10);
; return 0; }
configure:3768: /cluster/members/member0/tmp/kgardas/obj/gcc/xgcc -shared-libgcc -B/cluster/members/member0/tmp/kgardas/obj/gcc/ -nostdinc++  -L/cluster/members/member0/tmp/kgardas/obj/alphaev68-dec-osf5.1/libstdc++-v3/src -L/cluster/members/member0/tmp/kgardas/obj/alphaev68-dec-osf5.1/libstdc++-v3/src/.libs -B/house/kgardas/usr/local/alpha-osf1//alphaev68-dec-osf5.1/bin/ -B/house/kgardas/usr/local/alpha-osf1//alphaev68-dec-osf5.1/lib/ -isystem /house/kgardas/usr/local/alpha-osf1//alphaev68-dec-osf5.1/include -c -g -O2 -mieee  conftest.C 1>&5
configure: In function `int main()':
configure:3764: `strtoull' undeclared (first use this function)
configure:3764: (Each undeclared identifier is reported only once for each
   function it appears in.)
configure: failed program was:
#line 3761 "configure"
#include "confdefs.h"
#include <stdlib.h>
int main() {
char* tmp; strtoull("gnu", &tmp, 10);
; return 0; }
configure:3796: checking for c header strategy to use


Is it enough info now?

Thanks,

Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com



More information about the Gcc mailing list