Compiler error with gcc in text example.