ARC C/C++ compiler

Mikael Wikström leakim.wikstrom at gmail.com
Mon Feb 14 08:42:53 EST 2011


Hi,

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
branch?

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 mailing list