You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by Bill Janssen <ja...@parc.com> on 2010/06/05 00:19:26 UTC

hijacked thread subject!

Sorry, I accidentally hijacked that subject line!

Bill



Bill Janssen <ja...@parc.com> wrote:

> I'm trying to compile iText 5.0.2 with JCC 2.5, and it's choking on this
> line in a generated .h file:
> 
>                     static PdfName *DOMAIN;
> 
> build/_iText/com/itextpdf/text/pdf/PdfName.h:202: error: expected unqualified-id before numeric constant
> build/_iText/com/itextpdf/text/pdf/PdfName.h:202: error: abstract declarator ‘com::itextpdf::text::pdf::PdfName*’ used as declaration
> build/_iText/com/itextpdf/text/pdf/PdfName.h:202: error: expected ‘;’ before numeric constant
> build/_iText/com/itextpdf/text/pdf/PdfName.h:202: error: expected unqualified-id before numeric constant
> build/_iText/com/itextpdf/text/pdf/PdfName.h:202: error: abstract declarator ‘com::itextpdf::text::pdf::PdfName*’ used as declaration
> build/_iText/com/itextpdf/text/pdf/PdfName.h:202: error: expected ‘;’ before numeric constant
> 
> Since when is DOMAIN a C++ reserved word?
> 
> Bill