Angelo Graziosi wrote on 05 July 2008 12:16:

> For the sake of completeness I want to flag that the current snapshot
> 4.4-20080704 has new failures:

> /work/gcc/gcc/ggc-page.c -o ggc-page.o
> cc1: warnings being treated as errors
> /work/gcc/gcc/ggc-page.c: In function 'alloc_page':
> /work/gcc/gcc/ggc-page.c:802: error: request for implicit conversion
> from 'void *' to 'char *' not permitted in C++
> /work/gcc/gcc/ggc-page.c:845: error: request for implicit conversion
> from 'void *' to 'struct page_entry *' not permitted in C++
> make[3]: *** [ggc-page.o] Error 1

> But I am confused in any case: Why 'not permitted in C++'?
> Isn't xgcc a C compiler?
> 
> I am enabling only C,Fortran!

  This is probably fallout from Kaveh's current work on making sure gcc
stays c++ compatible.  Your patch looked good to me, you should send it with
a ChangeLog to gcc-patches.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

Reply via email to