@itix
A few *issues* Im having in ANSI C++ mode
1) Register specific parameters to a function (as allowed in ANSI C mode), using __asm("regname") refuse to be accepted. That's one avenue for library function calls gone.
2) #pragmas for library calls (and tag calls) aren't recognised either.
3) Final code size has absolutely *ballooned* compared to stormc v3. My old image warping demo used to compile to 56Kb, the gcc version compiles to 130Kb. Perversely, the object sizes for my code are similar, so the problem must be code added during linking.
So far, it seems I have to use stub libraries, resulting in a stack based call to a function that has to do call the OS in turn. Not the most efficient thing.
@PiR
I know. Mental, isnt it? I found that perfectly acceptable ANSI C headers, that contain register specific parameters in function prototypes simply *refuse* to be accepted in C++ mode, even with the extern "C" decleration.
A friend reported the same issue with gcc under linux x86 too.