#1 JNIHelper

closed
nobody
None
5
2002-10-29
2002-10-25
Anonymous
No

Hi Toby.

I have a problem to compile jace under linux with the
gnu compiler. This is my stack trace:

JNIHelper.cpp: IN function 'void
jace::helper::setVmLoader(const jace::VmLoader &)':
JNIHelper.cpp:109: initialization of non-const reference
type 'class auto_ptr<jace::VmLoader> &'
JNIHelper cpp:109: from rvalue of
type 'auto_ptr<jace::VmLoader>'
/usr/include/g++:40: in passing argument 1
of 'auto_ptr<jace::VmLoader>::operator=
(auto_ptr<jace::VmLoader>&)

JNIHelper.cpp: IN function 'void
jace::helper::setVmLoader(const jace::VmLoader &)':
JNIHelper.cpp:116: initialization of non-const reference
type 'class auto_ptr<jace::VmLoader> &'
JNIHelper cpp:116: from rvalue of
type 'auto_ptr<jace::VmLoader>'/usr/include/g++:40: in
passing argument 1
of 'auto_ptr<jace::VmLoader>::operator=
(auto_ptr<jace::VmLoader>&)

Do you know, what I should do??

Discussion

  • Toby Reyelts
    Toby Reyelts
    2002-10-29

    Logged In: YES
    user_id=149785

    What version of gcc are you using?

    God bless,
    -Toby Reyelts

     
  • Toby Reyelts
    Toby Reyelts
    2002-10-29

    • status: open --> closed
     
  • Logged In: NO

    I use the 2.95.4. With Jace Beta2 I could run the bib.