cpp branch: preprocessor stuff
- From: murrayc t-online de (Murray Cumming)
- To: orbit-list <orbit-list gnome org>,orbitcpp-list <orbitcpp-list lists sourceforge net>
- Subject: cpp branch: preprocessor stuff
- Date: 10 Jan 2002 13:45:11 +0100
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.
#ifndef __BONOBO_UNKNOWN_IDL__
#define __BONOBO_UNKNOWN_IDL__
#ifndef __Bonobo_Unknown_COMPILATION
#ifdef __ORBIT_IDL__
%{
#pragma include_defs bonobo-activation/Bonobo_Unknown.h
%}
#pragma inhibit push
#endif
#endif
...
#ifndef __Bonobo_Unknown_COMPILATION
#ifdef __ORBIT_IDL__
#pragma inhibit pop
#endif
#endif
#endif /* ! __BONOBO_UNKNOWN_IDL__ */
--
Murray Cumming
murrayc@usa.net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]