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

--- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to D. Hugh Redelmeier from comment #6)
> > The best would be to include only the definitions of the types that you 
> > need > and declare as 'extern' library functions that you use to avoid 
> > including headers.
> 
> I didn't do this part.  My excuses: the type declarations are not portable
> but the example should be; the solution might be in fixing headers; this way
> is shorter too.

If you compile with --save-temps (as the instruction say), you will see what
GCC parses. All that code makes debugging more complex. So if someone had to
debug this, he would have to cut down that code to a few lines. This is one
reason why examples should be minimal.

Reply via email to