News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Post-preprocessor view?

Started by Calexus, December 06, 2011, 10:27:31 AM

Previous topic - Next topic

Calexus

Is there a view or setting or something that allows you to see a what a source file would like after the preprocessor has been executed? And yes I know we can generate files like that. But is there a feature like that in codeblocks, to simply switch to a post preprocessor view of a file?

oBFusCATed

No there is not such feature as far as I know.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Calexus

Thats what I figured but it never hurt to ask ;) Thanks for a quick response oBFusCATed. I might make a feature request out of this or even try to implement it my self in the future. Not that it's of great importance, but it could be convenient to have such a feature.

oBFusCATed

I needed it only once, when porting some macro magics from windows to linux.
You can make a tool for this. It is the easiest way I can think of. But it will work with only one compiler.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]