Results for 4.3.0 20080125 (experimental) (GCC) testsuite on i386-unknown-openbsd4.2
Dongsheng Song
dongsheng.song@gmail.com
Fri Feb 1 14:54:00 GMT 2008
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 <vincent+gcc@vinc17.org>:
> 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 <vincent@vinc17.org> - 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)
>
More information about the Gcc
mailing list