Am using visual cl.exe compiler to get an intermediate file after preprocessing.
all the #define are removed. is there any possibility to keep them in the intermediate file?
Am using visual cl.exe compiler to get an intermediate file after preprocessing. all the
Share
No. One of the tasks of the preprocessing is to remove all #define and others preprocessing stuffs the #s and creates a plain c file.
What you can do:
use the /E or /P to output the preprocess to the output or file: http://blog.kowalczyk.info/article/clexe-cmd-line-args.html