[pylucene-dev] Re: jcc fails to protect C++ reserved word "union"
Andi Vajda
vajda at osafoundation.org
Wed Mar 5 09:44:37 PST 2008
On Wed, 5 Mar 2008, Bill Janssen wrote:
> Here's another glitch (trying to wrap java.awt.Rectangle):
>
> build/_docfinder/java/awt/geom/Rectangle2D.h:76: error: expected identifier before '(' token
> error: command 'gcc' failed with exit status 1
>
> The offending line is:
>
> static void union(const Rectangle2D&, const Rectangle2D&, const Rectangle2D&);
>
> Looks like JCC isn't "protecting" that C++ keyword.
I believe that's fixed on trunk already. I bumped into 'union' recently
myself while building PyLucene with the Java Lucene 2.4.0 trunk.
Andi..
More information about the pylucene-dev
mailing list