This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.7.0RC: Mangled names in cc1
2012/3/16 Ludovic Courtès <ludovic.courtes@inria.fr>:
> Hi,
>
> After writing an Autoconf macro that determines whether to build
> plug-ins with gcc or g++ [0], I realized that nested functions, which my
> plug-in uses extensively, are not supported in C++.
>
> Any suggestions on how to address this?
Don't use nested functions ;) GCC is supposed to be buildable with an ISO C99
compiler which does not support nested functions either.
Richard.
> Thanks,
> Ludo’.
>
> [0] https://gforge.inria.fr/scm/viewvc.php/trunk/m4/gcc.m4?root=starpu&r1=6090&r2=6195