I recently found a interesting behaviour of g++ when compared with MSVC++ 2008. Consider this tiny program:
#include const int ARR_LENGTH =
Dynamically sized arrays are a feature of C99. If your compiler supports C99 (GCC does, VC doesn't fully) - and if you throw the C99 switch -, then this will compile.