public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-15638-5711@http.gcc.gnu.org/bugzilla/>]
* [Bug preprocessor/15638] New: gcc should have option to treat missing headers as fatal
@ 2004-05-25 18:20 jlawson-gcc at bovine dot net
  2004-05-25 18:25 ` [Bug preprocessor/15638] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 22+ messages in thread
From: jlawson-gcc at bovine dot net @ 2004-05-25 18:20 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-04-03 19:39 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-15638-4@http.gcc.gnu.org/bugzilla/>
2014-04-03  7:44 ` [Bug preprocessor/15638] gcc should have option to treat missing headers as fatal eving.tw at gmail dot com
2014-04-03  8:11 ` pinskia at gcc dot gnu.org
2014-04-03 12:30 ` manu at gcc dot gnu.org
2014-04-03 18:02 ` eving.tw at gmail dot com
2014-04-03 19:39 ` redi at gcc dot gnu.org
     [not found] <bug-15638-5711@http.gcc.gnu.org/bugzilla/>
2007-02-15 17:51 ` pinskia at gcc dot gnu dot org
2007-03-28 16:37 ` bangerth at dealii dot org
2009-02-10 15:17 ` jsm28 at gcc dot gnu dot org
2009-02-10 15:24 ` manu at gcc dot gnu dot org
2009-02-10 15:35 ` joseph at codesourcery dot com
2009-02-11  1:16 ` joseph at codesourcery dot com
2009-03-31 12:43 ` jsm28 at gcc dot gnu dot org
2009-03-31 12:45 ` jsm28 at gcc dot gnu dot org
2004-05-25 18:20 [Bug preprocessor/15638] New: " jlawson-gcc at bovine dot net
2004-05-25 18:25 ` [Bug preprocessor/15638] " pinskia at gcc dot gnu dot org
2004-05-28 22:04 ` neil at gcc dot gnu dot org
2004-05-28 22:05 ` falk at debian dot org
2004-05-28 22:36 ` pinskia at gcc dot gnu dot org
2004-05-29  0:13 ` bbrownstone at hotmail dot com
2004-05-29  1:31 ` bbrownstone at hotmail dot com
2004-05-29  2:55 ` zack at codesourcery dot com
2004-05-30  4:44 ` jlawson-gcc at bovine dot net
2004-06-26 20:21 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).