Re: [orbitcpp-list] #pragma include_defs broken?
- From: murrayc t-online de (Murray Cumming)
- To: murrayc usa net
- Cc: orbitcpp-list <orbitcpp-list lists sourceforge net>,orbit-list <orbit-list gnome org>
- Subject: Re: [orbitcpp-list] #pragma include_defs broken?
- Date: 26 Jan 2002 15:16:02 +0100
On Fri, 2002-01-25 at 18:41, Murray Cumming wrote:
> > #include "Bonobo.h"
> > This is wrong because it only contains the filename, not the whole path.
>
> Actually, that code is produced in IDLPassXlate::runPass(). It's just
> trying to include the C stubs/skels from the C++ ones, and it assumes
> that they would have been generated in the same directory.
>
> But in the Bonobo world, the C stubs/skels have already been generated
> and are installed. So we need a way to tell `orbit-idl-2 -lc++` to
> prefix the #include with "bonobo/", "bonoboui", etc. Any ideas?
For the record, the solution seems to be to generate the C stubs/skels
locally. By doing this without the special -D #defines orbit-idl-2 will
just generate headers which #include the installed stubs/skels properly.
--
Murray Cumming
murrayc@usa.net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]