useless class storage specifier in empty declaration
- by robUK
Hello,
gcc 4.4.1 c89
I have the following code and I get a warning:
unless class storage specifier in empty declaration
static enum states
{
ACTIVE,
RUNNING,
STOPPED,
IDLE
}
However, if i remove the static keyword I don't get that warning.
I am compiling with the following flags:
-Wall -Wextra
Many thanks for any suggestions,