ARC C/C++ compiler
Mon Feb 14 05:42:53 PST 2011
I'm sort of stuck with an old metadeveloper/arc compiler that supports
C and C++. I need to be able to compile hostapd with it in a C++
compliant mode and this cause some issues.
If I where to create a patch for hostapd for this minimal C++
compliant mode, would you then consider including it into the main
The major things that needs to be changed are these
A: struct declaration must not be done inside other struct
declarations as this would add a namespace to the inner struct.
B: enum declaration must not be done inside struct declarations as
this would add a namespace to the inner enum.
C: no typecasting is allowed from
1. int to enum
2. int to Boolean
3. minor syntactic changes often related to 1 and/or 2.
Would you consider including such a patch into the main branch?
More information about the Hostap