The check for GCC <= 2 was in the wrong part of an #ifdef sequence.