trying to make stuff work with old GCC