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
Debugging Preprocessor commands
- xProgrammer
- Posts: 464
- Joined: Tue May 16, 2006 7:47 am
- Location: Australia
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Debugging Preprocessor commands
Have a look at /p [x]Harbour compiler switch.
EMG
EMG
- xProgrammer
- Posts: 464
- Joined: Tue May 16, 2006 7:47 am
- Location: Australia
Thanks
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)
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)