zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #13703
Re: [Merge] lp:~zorba-coders/zorba/bug938320 into lp:zorba
I fixed the first compilation problem; in three places there was code like this:
std::istream stream = std::istream(&streamBuffer);
which is illegal (at least according to gcc) because it implicitly uses a private copy-constructor on ios_base. Changing it to this:
std::istream stream(&streamBuffer);
fixed the compilation error and is slightly more efficient anyway. I have committed this change.
The next compilation error involved the class org.zorbaxquery.api.intArray. As far as I could make out this class wasn't actually used anyway, so I removed the import from java/ZorbaInputWrapper.java and the %array_class() declaration in zorba_api.i. I did not commit these changes, though, because I wasn't sure they were good.
However, even with that the branch still doesn't build. On the RQ machine I get
/home/ceej/zo/testing/zorbatest/tester/remotequeue/bug938320-2012-08-31T20-26-56.205Z/bzr/zorba/build/swig/java/zorba_apiJAVA_wrap.cxx: In member function ‘virtual void SwigDirector_ZorbaIOStream::write(const char*, size_t)’:
/home/ceej/zo/testing/zorbatest/tester/remotequeue/bug938320-2012-08-31T20-26-56.205Z/bzr/zorba/build/swig/java/zorba_apiJAVA_wrap.cxx:2440: error: cannot convert ‘_jbyteArray*’ to ‘_jstring*’ in assignment
On my own machine, I don't get that, but it is failing when trying to compile the .java files for zorba_xqj.jar - it can't find the symbols for classes like "XQuery", "DynamicContext", and others. I haven't previously tried compiling the swig stuff on my machine so it's possible I'm missing some dependency there, but for now I can't debug any further.
--
https://code.launchpad.net/~zorba-coders/zorba/bug938320/+merge/118194
Your team Zorba Coders is subscribed to branch lp:zorba.
References