I just stated that my problems with compilation of Crypto++ 3.0 result
from commenting out of definition of "auto_ptr" in egcs's include file
"memory".
I have uncommented this definition and corrected the "release" method:

/usr/include/g++/memory
...
  X* operator->() const __STL_NOTHROW { return ptr; }
  X* get() const __STL_NOTHROW { return ptr; }
  X* release() const __STL_NOTHROW { owns = false; return ptr; }
};
... 

Now when I try to compile the library I get:

$ make
c++   -c test.cpp
test.cpp:208: Internal compiler error.
test.cpp:208: Please submit a full bug report to [EMAIL PROTECTED]'.
make: *** [test.o] Error 1

I'm not sure if I really should report this bug to the
[EMAIL PROTECTED], because the egcs in hamm is VERY old.

Does it mean it is the time to upgrade to slink?

                                TIA
                                Wojtek Zabolotny
                                [EMAIL PROTECTED]

PS
Correction of "memory" include file let me to compile the old
crypto23.zip sources. However, running of "cryptest.exe v" ended
with segmentation fault:

Program received signal SIGSEGV, Segmentation fault.
0x807cabb in ECPrivateKey<EC2N>::~ECPrivateKey (this=0xbffff230,
__in_chrg=0)
    at eccrypto.h:76
76              ~ECPrivateKey();

Reply via email to