Re: extern "C" fixes for sunCC

2013-01-03 Thread Tom Tromey
> "Marc" == Marc Glisse writes: Marc> Do you prefer an other approach? No, this is fine, just yucky. Marc> Like this? (I'll test if approved, but I am not sure what was wrong Marc> with the indentation and parentheses so it may be wrong again) >From the node 'Formatting' in the GCS:

Re: extern "C" fixes for sunCC

2013-01-03 Thread Marc Glisse
On Thu, 3 Jan 2013, Tom Tromey wrote: "Marc" == Marc Glisse writes: Marc> libcpp/ Marc>* line-map.c (get_combined_adhoc_loc): Cast to extern "C" type. Yucky. Yes, there is a discussion of what is necessary for a real fix (and an alternate hack) in the PR: http://gcc.gnu.org/bugzi

Re: extern "C" fixes for sunCC

2013-01-03 Thread Tom Tromey
> "Marc" == Marc Glisse writes: Marc> libcpp/ Marc> * line-map.c (get_combined_adhoc_loc): Cast to extern "C" type. Yucky. Marc> line_map_realloc reallocator Marc> - = set->reallocator ? set->reallocator : xrealloc; Marc> + = set->reallocator ? set->reallocator Marc> +

Re: extern "C" fixes for sunCC

2013-01-02 Thread Richard Biener
On Wed, Jan 2, 2013 at 2:45 PM, Marc Glisse wrote: > Ping > http://gcc.gnu.org/ml/gcc-patches/2012-12/msg00746.html > (I'll re-test since there have been changes around gmp.h inclusion) The graphite changes are ok. Thanks, Richard. > > On Tue, 11 Dec 2012, Marc Glisse wrote: > >> Hello, >> >> t

Re: extern "C" fixes for sunCC

2013-01-02 Thread Marc Glisse
Ping http://gcc.gnu.org/ml/gcc-patches/2012-12/msg00746.html (I'll re-test since there have been changes around gmp.h inclusion) On Tue, 11 Dec 2012, Marc Glisse wrote: Hello, this patch should help if we ever want to use sunCC to initiate a bootstrap, though I didn't test with sunCC. Note th