[pylucene-dev] jcc fails to protect C++ reserved word "union"

Bill Janssen janssen at parc.com
Wed Mar 5 09:19:12 PST 2008


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.

Bill


More information about the pylucene-dev mailing list