tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [HEADS UP] png update to 1.5 branch



On Fri 13 May 2011 at 12:15:32 +0200, Ignatios Souvatzis wrote:
> >   CXX    SplashFTFont.lo
> > In file included from SplashFTFont.cc:31:
> > /opt/pkgsrc/pkgsrc/print/poppler/work/.buildlink/include/ft2build.h:56:38:
> freet
> > ype/config/ftheader.h: No such file or directory
> > SplashFTFont.cc:32:10: #include expects "FILENAME" or <FILENAME>
> > SplashFTFont.cc:33:10: #include expects "FILENAME" or <FILENAME>
> > SplashFTFont.cc:34:10: #include expects "FILENAME" or <FILENAME>
> > In file included from SplashFTFont.cc:39:
> > SplashFTFontEngine.h:33:10: #include expects "FILENAME" or <FILENAME>
> > In file included from SplashFTFont.cc:39:
> > SplashFTFontEngine.h:62: error: `FT_Library' has not been declared
> >
> > ich sehen auf 32-34:
> >
> > #include FT_OUTLINE_H
> > #include FT_SIZES_H
> > #include FT_GLYPH_H

The compiler is wrong (i.e. outdated). Since at least ANSI C the form
shown is allowed. Maybe all of those tokens are un#defined?

K&R second edition, Appendix A.12.4 File Inclusion:
...
   Finally, a directive of the form

     # include token-sequence

   not matching one of the previous forms is interpreted by expanding the
   token sequence as for normal text; one of the two forms with <...> or
   "..." must result, and is then treated as previously described.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- There's no point being grown-up if you 
\X/ rhialto/at/xs4all.nl    -- can't be childish sometimes. -The 4th Doctor


Home | Main Index | Thread Index | Old Index