I also found problems compiling ddd-3.3.1
I am using Slackware 9, with gcc-3.2.2 and it wouldn't compile. I got lots of warnings, and at the end it stopped.
I could solve it by downloading ddd-3.3.7 (from the alpha versions link in ddd's homepage). It compiled perfectly, with no warnings at all !