Quote:Original post by Thygrrr
This won't work, unfortunately. I'm not sure why, but it'd save us a lot of work, indeed.
Your only option is probably using a source code preprocessor.
Thats rather strange. Although I have no reason to doubt what you say, since you are a trusted and respected (maybe even famous?) member of the community, I really hope that you've got this one wrong! :P
But i fear that once again, you are correct. :(
I've been told to do it that way (by people who are supposed to know better than me) so that the debug code would be switchable and removable at compile time.
Another thing they told me is that I'm not allowed to use any preprocessing, so that leaves me between a rock and a hard place. *sigh*
Thanks for the info on using the arguments, although now I probably won't need them for the reason i was intending to use them for (to find out what was going wrong). But it will probably come in handy some point down the line!
Thanks once again!