Piru wrote:
Regardless C++ isn't C.
True. If you write good clean C code, it should compile fine under C++ but there are more caveats than just the non implicit void * cast. You'd have to be unlucky to run into them, however.
For AmigaOS, the only real syntactical gotcha I ever stumbled across was the library base structure name / library base pointer name issue which was down the the deprecation of the 'struct' keyword beyond defining the structure:
struct IntuitionBase* IntuitionBase;
is fine in C, but in ANSI C++ it caused problems.
IntuitionBase* IntuitionBase;
was also a problem, I had to use
IntuitionBase* ::IntuitionBase;
:-)