This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Don't require C++ bootstrap compiler (PR bootstrap/46810)


Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:

> Yes.  It is a wee bit hacky, but prepending the first C++ header check
> with
>
>   m4_pushdef([AC_MSG_ERROR], [m4_defn([AC_MSG_WARN])])[]dnl
>   AC_PROG_CXXCPP
>   m4_popdef([AC_MSG_ERROR])[]dnl
>
> should achieve this effect.

Yikes.

Which approach would you prefer--this one, or the compilation test I
sent out earlier?

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]