I'm working with a program, full of compiler directives, programmed in Visual Studio.
I've made some changes and now I'm stuck with an unresolved external compiler/linker error.
I believe this is caused by the compiler directives, which seem not to detect the implementation of that particular function, and in order to investigate this, I'd like to follow the #ifdef
compiler directives throughout the compilation process.
I've already tried using the /P
configuration, but I don't see any compiler directive in the Output
window.
Does anybody know how to do this?
I think you're on the right track with the /P
option, but the doc states that the output will go to files with a .i
extension (so probably not to your Output window).
Further, you may be able to find some help on any linker errors by generating a map file; see /MAP (Generate Mapfile).