Arduino Edison no support for enum or enum class

Hi
I recently dug up an Edison Arduino board.
When using some code using enumerates, the compiler complained that the enum was not a type or class.
No issues when compiling the same code on a Arduino Uno.
Are enum and enum class not supported on the Edison Arduino?
Anyone else seen this issue?

Attached 2 screenshots of the Arduino window with code and output.
First Edison second Uno

Thanks
Jac

Done some further testing unnamed enumerates work:
I.e. this code sniped.

enum {dirReverse=0,dirAdvance=1};
enum {actIdle, actLeft, actReverse, actAdvance, actRight, actStop, actAutonomous, actExit};

void driveCar(int _action, int _direction);


setup () {}

loop () {
  driveCar(actRight, dirAdvance)
}

Compiles without errors and generate the desired result.

Note: driveCar is detailed in another part.