I am looking to expand only macros in my C++ code. I understand that -E option runs only preprocessor, but I am not looking for complete preprocessed output. All I want is a C++ code with all macros expanded.
I need to submit this code to a analyser, who don't understand macros. But a preprocessed code will defeat the purpose, as it will add lot of third party code (via include files) to the code.