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" :-)

Reply via email to