Re: [orbitcpp-list] #pragma include_defs broken?



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]