[PATCH][RFC] Immediate compiler exit on missing header file

Simon Baldwin simonb@google.com
Tue Mar 31 19:19:00 GMT 2009


Joseph S. Myers wrote:
> On Sun, 29 Mar 2009, Simon Baldwin wrote:
>
>   
>> This patch is an attempt to provide a simple way for gcc to exit immediately
>> when it runs across a missing header file.  At present, gcc tries to continue
>>     
>
> This is bug 15638.  My patch to make cpplib use the core GCC diagnostic 
> machinery is in my queue of changes to update and retest for trunk and 
> apply now we are in Stage 1, after which I will make the simple change to 
> make this error fatal.
>   

Thank you for the reply.  I'm afraid I'd not looked this far back 
through existing bugs.

I'll gladly retire my small patch in favour of a more complete solution; 
thanks for taking the time to handle this bug.

-- 
Google UK Limited | Registered Office: Belgrave House, 76 Buckingham
Palace Road, London SW1W 9TQ | Registered in England Number: 3977902



More information about the Gcc-patches mailing list