Re: SWIG 0.3.13 Java - resulting files do not compile

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/SWIG-0-3-13-Java-resulting-files-do-not-compile-tp5008p5009.html

On Wed, 2006-08-30 at 11:32 -0400, jmfj wrote:
> I am having trouble compiling Java sources generated during
> QuantLib-SWIG-0.3.13.zip default installation procedures.

jmfj,
        thanks for the report (and apologies forthe delay---vacations got into
the way.)  The error is fixed in CVS now. If you want to patch your
installation, you'll have to modify timeseries.i so that the enum
declared in the IntervalPrice class is in the public section. After you
regenerate the wrappers (you'll have to use SWIG 1.3.29) the code should
be correct.

Later,
        Luigi


----------------------------------------

feature, n:
A surprising property of a program. Occasionally documented.
To call a property a feature sometimes means the author did not
consider that case, and the program makes an unexpected, though
not necessarily wrong response. See BUG. "That's not a bug,
it's a feature!" A bug can be changed to a feature by
documenting it.