When I build my project (any project, really - I tried creating a new empty project with the same results), it builds fine with GCC 4.2 under either Xcode4 or Xcode 3.2.4.
Does this issue persist with XCode 3.2.5?
Just curious since I haven't downloaded it yet.