This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [Solaris 8/Intel] cc chokes on inline static
David Korn writes:
> Isn't inline the sort of non-K+R-backwardly-compatible thing that isn't
> meant to be used in any of the bootstrap compiler files? Or is that taken
> care of by #defineing it to a blank macro in one of the header files?
no, this is taken care of by AC_C_INLINE in configure.in: it defines inline
to __inline or nothing if that's what the bootstrap compiler supports, and
leaves it as is (i.e. undefined) if the bootstrap compiler supports it as is.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE