From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20349 invoked by alias); 24 May 2004 22:25:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 20316 invoked by uid 48); 24 May 2004 22:25:37 -0000 Date: Tue, 25 May 2004 18:20:00 -0000 From: "jlawson-gcc at bovine dot net" To: gcc-bugs@gcc.gnu.org Message-ID: <20040524222534.15638.jlawson-gcc@bovine.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug preprocessor/15638] New: gcc should have option to treat missing headers as fatal X-Bugzilla-Reason: CC X-SW-Source: 2004-05/txt/msg02817.txt.bz2 List-Id: When gcc fails to #include a header because the named file is missing, it prints an error yet continues trying to compile the source file. (In most cases, this ends up printing hundreds/thousands of error messages that are caused by the fact that the definitions in that header file were not processed.) Although the initial error resulting from the missing header will be sufficient to eventually cause gcc to fail the compilation, it only stops after attempting to go through the entire source file. gcc should have an option to treat missing includes as fatal, and stop compilation immediately. -- Summary: gcc should have option to treat missing headers as fatal Product: gcc Version: 3.2.1 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jlawson-gcc at bovine dot net CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15638