compiler error on old GCC