Re: Question on compiling Orbacus on Windows using bcc32
Darren Middleman <[email protected]>
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Organization | IONA | Making Software Work Together TM |
| Message-ID | <[email protected]> |
Hi Frederico, > > Thank you for your attention. You are right! The > build doesn´t stop on error. I have been a Linux gcc > native developer. I have few Windows tricks. > > I verified the compiler output and the first error > output is attached: > > Compile version: Borland C++ 5.5.1 for Win32 Copyright > (c) 1993, 2000 Borland > > do you have any hint ? > > [...] > > POAManager_impl.cpp: > Warning W8078 POAManager_impl.cpp 223: Throw expression violates exception > specification in function > POAManager_impl::POAManager_impl(ORBInstance *,POALocator *,const char *, > char *,const OCI::Acceptor > q &,const PolicyList &) throw(PolicyError,SystemException) > rning W8078 POAManager_impl.cpp 312: Throw expression violates exception > specification in function > OAManager_impl::POAManager_impl(ORBInstance *,POALocator *,const char *, > char *,const OCI::Acceptor > q &,const PolicyList &) throw(PolicyError,SystemException) > rning W8078 POAManager_impl.cpp 346: Throw expression violates exception > specification in function > OAManager_impl::POAManager_impl(ORBInstance *,POALocator *,const char *, > char *,const OCI::Acceptor > q &,const PolicyList &) throw(PolicyError,SystemException) > ror E2034 POAManager_impl.cpp 531: Cannot convert 'String_var' to 'char *' > in function POAManager_ > pl::activate() throw(PortableServer::POAManager::AdapterInactive,SystemException) > ror E2340 POAManager_impl.cpp 531: Type mismatch in parameter 1 (wanted > 'char *', got 'String_var' > in function POAManager_impl::activate() > throw(PortableServer::POAManager::AdapterInactive,SystemException) > ror E2034 POAManager_impl.cpp 584: Cannot convert 'String_var' to 'char *' > in function POAManager_ > pl::hold_requests(bool) throw(PortableServer::POAManager::AdapterInactive, > SystemException) > ror E2340 POAManager_impl.cpp 584: Type mismatch in parameter 1 (wanted > 'char *', got 'String_var' > in function POAManager_impl::hold_requests(bool) > throw(PortableServer::POAManager::AdapterInactive > ystemException) > ror E2034 POAManager_impl.cpp 641: Cannot convert 'String_var' to 'char *' in > function POAManager_ > pl::discard_requests(bool) throw(PortableServer::POAManager::AdapterInactive, > SystemException) > ror E2340 POAManager_impl.cpp 641: Type mismatch in parameter 1 (wanted > 'char *', got 'String_var' > in function POAManager_impl::discard_requests(bool) > throw(PortableServer::POAManager::AdapterInact > e,SystemException) > ror E2034 POAManager_impl.cpp 703: Cannot convert 'String_var' to 'char *' > in function POAManager_ > pl::deactivate(bool,bool) throw(PortableServer::POAManager::AdapterInactive, > SystemException) > ror E2340 POAManager_impl.cpp 703: Type mismatch in parameter 1 (wanted 'char *', > got 'String_var' > in function POAManager_impl::deactivate(bool,bool) > throw(PortableServer::POAManager::AdapterInacti > ,SystemException) > ror E2034 POAManager_impl.cpp 944: Cannot convert 'String_var' to 'char *' > in function POAManager_ > pl::_OB_getAdapterManagerId() throw(SystemException) > * 9 errors in Compile *** Please CC [email protected] so that you address the whole team and community. This will help ensure an answer in the event that I become unavailable. It appears that the Borland compiler is having trouble performing some implicit type conversions with String_var types. I've attached a modified POAManager_impl.cpp file so that the compiler doesn't need to do this. You should replace the POAManager_impl.cpp file that is located in the ob/src/library directory with the attached file and rebuild Orbacus. I'm also attaching the file Stream.cpp, which I found had similar problems. Again, replace the existing Stream.cpp file in ob/src/library with the attached Stream.cpp. Regards, Darren -- Darren Middleman, Software Engineer Team Orbacus - Your CORBA Source Email: mailto:[email protected] WWW: http://www.orbacus.com/ _______________________________________________ OB-Users Mailing List - [email protected] http://mail.ooc.nf.ca/mailman/listinfo/ob-users Visit our support FAQ before you send a message. http://www.orbacus.com/faq/support.html