NO.
If no "--disable-werror" option, bootstrap will fail. So I use a type
cast, no very care about the pointer type.
2008/2/1, Vincent Lefevre <[EMAIL PROTECTED]>:
> On 2008-01-31 11:59:32 +0800, Dongsheng Song wrote:
> > - mpfr_inits2 (prec, m1, m2, NULL);
> > + mpfr_inits2 (prec, m1,
On 2008-01-31 11:59:32 +0800, Dongsheng Song wrote:
> - mpfr_inits2 (prec, m1, m2, NULL);
> + mpfr_inits2 (prec, m1, m2, (char *)NULL);
Is there any reason to use (char *) instead of (void *)?
Note that m1 and m2 are MPFR pointers (mpfr_ptr type, which is in
the reality __mpfr_struct
Sorry for my mail conf.
Building & test as:
$ mkdir obj && cd obj
$ bash ../gcc-4.3-20080125/configure --prefix=/usr/local/gcc-4.3.x \
--enable-languages=c,c++,fortran \
--with-gmp=/usr/local --with-mpfr=/usr/local
$ gmake CFLAGS='-O2 -pipe' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-i
LAST_UPDATED: Obtained from SVN: trunk revision 131847
Native configuration is i386-unknown-openbsd4.2
=== g++ tests ===
Running target unix
FAIL: g++.dg/cpp/_Pragma1.C (test for excess errors)
FAIL: g++.dg/cpp0x/vt-34103.C (internal compiler error)
FAIL: g++.dg/cpp0x/vt-34103.C