This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/55115] [>=4.5.0 regression] missing headers as fatal breaks cproto logic


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55115

--- Comment #7 from Pierre Poissinger <pierre.poissinger at gmail dot com> 2012-10-29 14:59:51 UTC ---
(In reply to comment #4)
> That seems an odd way to generate missing declarations. Missing headers may
> lead to different code being compiled because of undefined macros, feature test
> macros, pragmas, etc.
We don't compile... 
Prototyping only use the preproc result to retrieve function signatures.

When compilation do occurs - headers have been generated and all is fine...

> If the header is missing, then ignoring the error will produce exactly the same
> result as commenting out the #include.
Yes - but that mean to hack around to bypass a "good" idea..

> Anyway, not a bug.
That's why I say "regression" (it is) and "enhancement" :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]