* [Bug preprocessor/15638] gcc should have option to treat missing headers as fatal
2004-05-25 18:20 [Bug preprocessor/15638] New: gcc should have option to treat missing headers as fatal jlawson-gcc at bovine dot net
@ 2004-05-25 18:25 ` pinskia at gcc dot gnu dot org
2004-05-28 22:04 ` neil at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-25 18:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-24 22:29 -------
Not something we want but for 3.5.0 and above you can use -Wfatal-errors to make all errors fatal, see
<http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.htm>.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15638
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug preprocessor/15638] gcc should have option to treat missing headers as fatal
2004-05-25 18:20 [Bug preprocessor/15638] New: gcc should have option to treat missing headers as fatal 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
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: neil at gcc dot gnu dot org @ 2004-05-28 22:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From neil at gcc dot gnu dot org 2004-05-28 09:23 -------
I think we do want this - it's clearly the right thing to do. Indeed, the only
reason we don't currently halt is that cpp's separate diagnostic mechanism from
the main compiler has no way of asking the main compiler to stop.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15638
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug preprocessor/15638] gcc should have option to treat missing headers as fatal
2004-05-25 18:20 [Bug preprocessor/15638] New: gcc should have option to treat missing headers as fatal 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
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: falk at debian dot org @ 2004-05-28 22:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From falk at debian dot org 2004-05-28 09:33 -------
Do you mean always stopping is the right thing, or having an option for it?
I'd be opposed to an option, we already have way too many options, and this
doesn't seem important enough.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15638
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug preprocessor/15638] gcc should have option to treat missing headers as fatal
2004-05-25 18:20 [Bug preprocessor/15638] New: gcc should have option to treat missing headers as fatal jlawson-gcc at bovine dot net
` (2 preceding siblings ...)
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
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-28 22:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-28 12:02 -------
I think this is fixed by -Wfatal-errors anyways.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15638
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug preprocessor/15638] gcc should have option to treat missing headers as fatal
2004-05-25 18:20 [Bug preprocessor/15638] New: gcc should have option to treat missing headers as fatal jlawson-gcc at bovine dot net
` (3 preceding siblings ...)
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
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bbrownstone at hotmail dot com @ 2004-05-29 0:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bbrownstone at hotmail dot com 2004-05-28 16:22 -------
Always stopping would be an improvement over never stopping. If a header is
missing, the error messages that follow tend to be of little or no use, and
only serve to scroll the original useful message off the terminal.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15638
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug preprocessor/15638] gcc should have option to treat missing headers as fatal
2004-05-25 18:20 [Bug preprocessor/15638] New: gcc should have option to treat missing headers as fatal jlawson-gcc at bovine dot net
` (4 preceding siblings ...)
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
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bbrownstone at hotmail dot com @ 2004-05-29 1:31 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bbrownstone at hotmail dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15638
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug preprocessor/15638] gcc should have option to treat missing headers as fatal
2004-05-25 18:20 [Bug preprocessor/15638] New: gcc should have option to treat missing headers as fatal jlawson-gcc at bovine dot net
` (5 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: zack at codesourcery dot com @ 2004-05-29 2:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zack at codesourcery dot com 2004-05-28 18:58 -------
Subject: Re: gcc should have option to treat
missing headers as fatal
Always stopping is the right thing. Once Per finishes his fileline
conversion, it will be possible to send cpplib's errors through
diagnostic.c, and we will then be able to make this a fatal error.
zw
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15638
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug preprocessor/15638] gcc should have option to treat missing headers as fatal
2004-05-25 18:20 [Bug preprocessor/15638] New: gcc should have option to treat missing headers as fatal jlawson-gcc at bovine dot net
` (6 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: jlawson-gcc at bovine dot net @ 2004-05-30 4:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jlawson-gcc at bovine dot net 2004-05-28 22:51 -------
I can imagine it being useful to want to use default compilation options that
abort immediately on the first include failure, yet continue compilation on
other types of errors. (for example, seeing multiple errors when you are
search/replace on variable names is useful.) Continuing compilation when an
include failure occurs is almost never a good idea and rarely useful due to the
spectacular cascade of errors that are commonly produced.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15638
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug preprocessor/15638] gcc should have option to treat missing headers as fatal
2004-05-25 18:20 [Bug preprocessor/15638] New: gcc should have option to treat missing headers as fatal jlawson-gcc at bovine dot net
` (7 preceding siblings ...)
2004-05-30 4:44 ` jlawson-gcc at bovine dot net
@ 2004-06-26 20:21 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-26 20:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-26 20:21 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-06-26 20:21:34
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15638
^ permalink raw reply [flat|nested] 10+ messages in thread