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, 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 * but that's internal). > > -- > Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> > 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> > Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) >