[Converted from Gnats 1817] If a class is defined in a namespace the resulting typedef cannot be used in typecasts. Instead, gdb complains about a syntax error. Release: 6.2 Environment: i686-pc-linux-gnu gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) How-To-Repeat: Compile with -ggdb. Start gdb. The command "ptype X::Y" works. However, this command results in a syntax error: p (X::Y *) 0
*** This bug has been marked as a duplicate of 8693 ***