[orbitcpp-list] Re: cpp branch
Status: Beta
Brought to you by:
philipd
From: Sam C. <sa...@to...> - 2002-01-05 05:07:00
|
Michael Meeks <mi...@xi...> wrote: > > When I last tried this invocation produces just empty files; so > ... something is bust somewhere, I was hoping Sam would find what it was. > Either way, any fixes there would be greatly appreciated; feel free to > commit any fixes, and send a patch here as you do. I found the cause of this problem: The C++ backend doesn't know how to handle the IDLN_SRCFILE IDL type, hence the error about something being unexpected. The error would be slightly more helpful if the C++ backend also knew how to get the correct type name for a node from libIDL. Anyway, I'll attach a patch to fix this particular problem, as well as fixing the way the backend grabs the node type name, so error messages will be more meaningful. When (if?) the backend is re-written in C, maybe it should be made intelligent enough to warn about IDL types it doesn't know about, rather than bombing out? Or could that just hide problems further down the track? In the mean time, I'm working on two things: 1) Conditional compilation of the C++ compiler and ORB. This is pretty simple, and just needs tidying up. 2) Actually getting the C++ ORB to compile at all. No guarantees about the code actually being useful. :) -- Sam "Eddie" Couter | mailto:sa...@to... | I need a short and Internet Engineer | jabber:edd...@ja... | clever comment for tSA Consulting | http://www.topic.com.au/ | my .signature file OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C |