On 2018-09-10, at 9:15 AM, Jan Stary <h...@stare.cz> wrote:
> On Sep 10 08:24:39, ken.cunningham.web...@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) Is there a way to tell CPP to only expand compile-time determinable #ifdef's, and not macro expansion? The standard IO library, for example, gets pretty hard to read once expanded. --- Entertaining minecraft videos http://YouTube.com/keybounce