viewing code while respecting defines

Jan Stary hans at stare.cz
Mon Sep 10 16:15:02 UTC 2018


On Sep 10 08:24:39, ken.cunningham.webuse at gmail.com wrote:
> I don't know if I asked this correctly, and it's not macports-specific, but I don't know where else to ask.
> 
> Some of the code I'm trying to tweak (llvm-N, webkit2-gtk-N, etc) has a lot of #defines in it to modify code paths for various OS versions.
> 
> It can get pretty mind-bending to try to follow the code path.
> 
> Is there any editor that shows you somewhat more clearly what code path you will be following with certain sets of defines?

cpp(1)


More information about the macports-dev mailing list