gcc/cpp preprocessoor continue on error

Jonathan Wakely jwakely.gcc@gmail.com
Fri May 3 07:26:00 GMT 2013


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.



More information about the Gcc-help mailing list