SWIG 3.0.1 seems to have problems with modifiers in different orders in a class.

This works:

const static unsigned int a;

This doesn't:

static const unsigned int a;

static unsigned const int a;

...or any other order. All of them point to the same definition, but SWIG throws a syntax error in all of the later.

I don't have any problems changing that in my code, but I'm trying to use some library without modifying its includes, so it's easier for me to upgrade.

Is this a known issue that hasn't been fixed for some reason, or should I open a bug?

Thanks!