[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A bug in the gmp c++ class interface???
From: |
Kevin Ryde |
Subject: |
Re: A bug in the gmp c++ class interface??? |
Date: |
06 Jan 2002 07:38:38 +1000 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5 |
Deniz Deveci <address@hidden> writes:
>
> g++ -g -Wall -I/homes4/info-f/ted/lib/gmp-4.0/include
> -L/homes4/info-f/ted/lib/gmp-4.0/lib -o test_gmp-4.0.bin
> test_gmp-4.0.cc -lgmp -lgmpxx
> In file included from test_gmp-4.0.cc:18:
> /homes4/info-f/ted/lib/gmp-4.0/include/gmpxx.h: In method `class string
> __gmp_expr<__gmpf_value,__gmpf_value>::get_str2(int = 10) const':
> /homes4/info-f/ted/lib/gmp-4.0/include/gmpxx.h:2788: `::ostrstream'
> undeclared (first use here)
Yep, the #include <strstream.h> near the top of gmpxx.h needs to be
uncommented. Either that or delete the entire get_str2 function (it's
unused in fact).