Running old game build in latest Xcode 4 creates conflicts with C function in stdio.h?

When I commented this line definition in one of my type definition file.

When I commented this line definition in one of my type definition file: #define dprintf printf The game code built successfully. The problem was that the printf was also defined as dprintf and Xcode4's stdio. H has definition for dprintf of its own.So, it got conflict, whereas it worked well with previous version of Xcode 3.2.5.

Thanks for everyone who tried to help me out with this issue!

I'm not familiar with Xcode, but my approach to this would be to tell the compiler (gcc in this case) to output the include tree and look there for entries of stdio. H from two separate places. If you post that tree here we may be able to get to the bottom of it - I think that that is done using -verbose and --trace.

I checked the stdio. H to see if it is included in project or not and tried removing includes with stdio.h. But no help, it always go to that stdio.

H file line no 446 and conflict is there. It doesn't show from where conflict arose :( – mysticboy59 Jul 28 at 6:19 Anyway Thanks for your interest Reinderien. Happy coding :) – mysticboy59 Jul 28 at 6:27.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions