Re: cpp branch: preprocessor stuff



On Thu, 2002-01-10 at 13:53, Mark McLoughlin wrote:
> Hi Murray,
> 
> On 10 Jan 2002, Murray Cumming wrote:
> 
> > The ORBit2 cpp branch now output code for test/empty.idl, using
> > `orbit-idl-2 -lc++'.
> >
> > However, it can't handle Bonobo_Unknown.idl unless I remove the
> > preprocessor code, listed below. If this is stuff that should be
> > processed before the idl is parsed, then I don't understand why the cpp
> > idl-compiler handles them differently.
> 
> 	All idl is passed through a C preprocessor before being parsed
> by the idl-compiler. You could try figuring what preprocessor you're
> using and what isn't being handled correctly by it.

"What preprocessor"? There's more than one?

Can you tell me where in the code the input .idl file is processed by
the preprocessor?

> 	What's the exact error message you're getting?

There's no error message, it just doesn't output code for the idl after
those preprocessor lines.

-- 
Murray Cumming
murrayc@usa.net
www.murrayc.com




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