Score definition gives a compile error under gcc