writing code for IPC servers
Tiago Jorge
tjpj at lasige.di.fc.ul.pt
Thu Mar 31 11:20:16 CEST 2005
Ronald AIGNER wrote:
> Tiago Jorge wrote:
>
>> hello again.
>>
>> is it possible to code the server side of DICE generated stubs using
>> C++ by only modifing the filename and deleting the #ifdef
>> __cplusplus? or is DICE ready to generate C++ code?
>
> Please see
> http://article.gmane.org/gmane.comp.micro-kernel.l4.l4ka.general/748
>
> Greetings,
> Ron.
>
thanks... that is a good article... and maybe i'll write an ORB if i
have some spare time in the the end :).
By now, i'm just trying to put C++ to work... but i'm having a little
problem again.
When i come to build the stubs it with g++, it gives me error in the
lines that fill the exception in the call, more precisely here:
l4_umword_t _exception = ((dice_CORBA_exception_type){ _s: { .major =
_dice_corba_env->major, .repos_id = _dice_corba_env->repos_id }})._raw;
it says:
/home/tiago/l4/pkg/ipc_example/server/src/hiworld-server.cc:17: error: parse
error before `.' token
how can i adapt this line to C++ or... where is the "error".
thanks
Tiago
More information about the l4-hackers
mailing list