[omniORB] BUG: macro expansion problem

David Riddoch djr@uk.research.att.com
Fri, 7 May 1999 12:01:22 +0100 (GMT)


On Fri, 7 May 1999, Alex Hornby wrote:

> Dear all,
> 
> Macro expansion is not being done properly, as the ## is left in.
> I know macros are nasty, but one of our developers is very attached to 
> them.
> 
> Here is an example running on omniORB 2.7.1 on solaris 2.6 Sun PRO 4.2.
> I have also attached the C++ preprocessor's output for comparison.

omniidl2 uses your C compiler's preprocessor - so if the ## is not being
expanded the problem probably lies with you C preprocessor.

What do you get if you use cc -E ?


David