[omniORB] memory fault with from_char

Svetlana G. Shasharina sveta@tech-x.txcorp.com
Fri May 31 17:27:48 2002


Hi!

When I run this code:

-----------------------------
#include <omniORB4/CORBA.h>
#include <istream.h>


int main(int argc, char* argv[]) {
    cerr <<"In test!"<<endl;
    CORBA::Any any;
    any <<= CORBA::Any::from_char('c');
    return 0;
}
-----------------------------

it coredumps on the line inserting a char into
an Any.  Similar things work for from_octet and
from_boolean.

Did anybody have a similar problem?

Thanks,

Sveta Shasharina