This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc/cpp preprocessoor continue on error
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Paul Hansen <paul dot hansen dot name at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 3 May 2013 08:26:15 +0100
- Subject: Re: gcc/cpp preprocessoor continue on error
- References: <CA+HcT42Gq6B+T66EGgeRxi30kRz6HVStcBQRxyyK3rTvGx_K5g at mail dot gmail dot com> <CAH6eHdThxWQVTd0ZGt3QpQ6HoBJxgUAczd_iLBBBiWhG=u1D_g at mail dot gmail dot com> <CA+HcT427DKkdWGyzE4egHG6WLf2RJs7_xVpvmtAwWDaCoRHk=Q at mail dot gmail dot com>
On 3 May 2013 07:49, Paul Hansen wrote:
> Thank you very much for your answer.
>
> Your crystal ball works fine :-)
> Actually, in this case, I want GCC 4.5 to behave like on the Mac.
Ah yes, I misread your original post, sorry.
> Do you know if there is there is an option to make GCC 4.5 behave like
> the on the Mac?
I don't *think* there is an option for that (but could be wrong.)
Continuing when a header is missing is usually useless and produces a
cascade of unhelpful errors. What are you trying to achieve? If you
want dependency generation to work even with a missing header then try
the -MG option.