paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] ParaGUI && Embedded C++


From: Mark Junker
Subject: Re: [paragui-users] ParaGUI && Embedded C++
Date: 26 Jul 2003 17:37:00 +0100
User-agent: OpenXP/32 v3.8.8 (Win32) beta

> Embedded C++ omits the following features which are useful, but not
> necessary in an embedded environment:

>    * multiple inheritance
This is allowed in the Hitachi EC++ compiler.

>    * virtual base classes
This is allowed in the Hitachi EC++ compiler too.

>    * new-style casts
You're right, this is not allowed because it relys on RTTI.

>    * virtual function tables
Is part of the "virtual function/base class" feature.

> - if it's removed , what the reason to write on C++ ????
Because you have objects and virtual functions. However, you can use plain C
with function pointers but it's not very readable.

I already used EC++ in some of my embedded projects for - for example -
generic interfaces to image memory and it was a great improvement for the
development. I  was able to write the main parts (image filters/checkers) on
Windows using Borland C++ and then I simply compiled it with and EC++
compiler and it simply worked. Working this way for embedded platforms is
simply fun.

I simply cannot use - for example - GCC for SH4 because we have to use  
libraries from Matsushita and they're only available in SYSROF (Hitachi SH  
compiler) format which isn't documented :(.

Regards,
Mark Junker




reply via email to

[Prev in Thread] Current Thread [Next in Thread]