I'm trying to use an enumeration as a function parameter but I get an error.

bar.h:

enum ns__mynum {one, two, three};

ns__foo (ns__mynum i, int &r);


When I compile with 
soapcpp2 -S -i bar.h

I get the following:
bar.h(3): syntax error
bar.h(2): Syntax error: input before ; skipped

What am I doing with the enum that is making the soapcpp2 compiler complain?

Reply via email to