[omniORB] omniidl C++ output...

scott.rediger at teradyne.com scott.rediger at teradyne.com
Thu Jun 26 10:16:32 BST 2003


Hi,

Background:
We have just upgraded from omniORB3 to omniORB-4.0.1 (I built it using
Python-2.2.3). We have also ported our code from Solaris 2.5.1 to Solaris
2.8.

Problem:
I am compiling our IDL file with omniidl (omniORB4.0.1) as follows on
Solaris 2.8: "omniidl -bcxx TI_CELERITY-3.0.idl". omniidl successfully
generates all the C++ code, but it is outputting the #ifndef lines with
hyphens and dots in the filename instead of replacing them with
underscores. See output below:

// This file is generated by omniidl (C++ backend)- omniORB_4_0. Do not
edit.
#ifndef __TI-CELERITY-3.0_hh__
#define __TI-CELERITY-3.0_hh__

The compiler does not like the hyphens and the dots in the #ifndef name.
When we were using omniORB3, omniidl was replacing the hyphens and dots
with underscores, so the compiler didn't have a problem. There are many
variables involved - solaris versions, python versions, omniORB versions,
compiler versions - and I want to rule out any omniORB specific changes if
I can.

Thanks,
Scott Rediger






More information about the omniORB-list mailing list