Re: Bug report: pango on solaris 7



On Thu, 2002-05-09 at 19:24, Shane Nay wrote:
> On Thursday 09 May 2002 08:20, Chris Ralston wrote:
> > Pango 1.0.1 won't compile using the factory compiler on Solaris 7
> > (or "our installation of sol7", anyway) because of an "issue" in
> > modules/basic/tables-big.i.  It chokes on the comment on line 166,
> > "ENC_KSC_5601, // 106".  If the comment is removed it compiles and
> > runs fine.  It really seems like this shouldn't be a problem, but
> > what can we say about closed-source compilers! :) :)
> >
> > Hope this helps!
> 
> C++ style comment in a C include.  Were C++ style comments added to 
> the newer standards for C?

Yup. Check the C99 standard.

Anyway I don't think pango should use C99 in headers.  Remember that
headers are going to be used in C++ programs, and C++ standard is not
based (yet) in C99 (but, of course, it doesn't matters for *this*
particular C99 feature :)

> (Suns compiler is just being strict, not incorrect probably)

nope, it's just obsolete.

Cheers,

-- 
Joaquín Cuenca Abela
cuenca pacaterie u-psud fr




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]