Debugging Preprocessor commands

Post Reply
User avatar
xProgrammer
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Debugging Preprocessor commands

Post by xProgrammer »

I was wondering if there was a way to get the compiler to output the result of preprocessing the source as a means of debugging possible preprocessing bugs?

(If so it might prove useful beyond even xBase code)

I realise that this isn't specifically a FiveWin issue, but I think someone out there must have thought about this before.

Thanks

xProgrammer
User avatar
xProgrammer
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Thanks

Post by xProgrammer »

Thanks Enrico

And having found out I realised that xBuildW (xHarbour) must automatically invoke /p becuase I have a host of .ppo files (which I had never looked at). - And felt a bit of a goose for having asked the question and not having realised.

xHarbour documentation (nice) doesn't seem to cover compiler switches but I did find it at Harbour Project web site. xBuildW is nice but I guess having always used it (until now) kind of isolates you from what is happening behind the scenes.

Thanks

Doug (xProgrammer)
Post Reply