Compiling orbit-idl-2 generated skelimpl code

Hello -

  I get the following error when I g++ compile my skeleton impl file:

  in Makeilfe:
      g++ -c -Wall -ansi -U__STRICT_ANSI__  -O0 -g -ggdb -DDEBUG
-DORBIT2=1 -D_REENTRANT -I/usr/include/orbit-2.0
-I/usr/include/linc-1.0 -I/usr/include/glib-2.0
-I/home/parker/.../sys/udam_SecurityManagerImpl.c -o

  Error (1 of many that are similar):
  /home/parker/.../SecurityManagerImpl.c:351: error: invalid
conversion from ‘void*’ to ‘void (*)(void*, CORBA_Environment*)’

  Code (unaltered - copied out of generated skelimpl code file)
    /*** epv structures ***/

#if !defined(_impl_org_udam_sys_Service_base_epv_)
#define _impl_org_udam_sys_Service_base_epv_ 1
static PortableServer_ServantBase__epv impl_org_udam_sys_Service_base_epv = {
NULL,             /* _private data */
(gpointer) & impl_org_udam_sys_Service__destroy, /* finalize routine */
NULL,             /* default_POA routine */
};   //  <-------------Line 351

  Any ideas?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]