viewing code while respecting defines

Ken Cunningham ken.cunningham.webuse at gmail.com
Tue Sep 18 14:41:30 UTC 2018


Thank you, Perry!

I see it’s right there in Xcode — I just never noticed it before. That (at present) is likely about as close as I will get to what I want.

Ken

> On Sep 18, 2018, at 5:11 AM, Perry E. Metzger <perry at piermont.com> wrote:
> 
> On Mon, 10 Sep 2018 12:15:37 -0700 Michael <keybounce at gmail.com>
> wrote:
>> 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.
> 
> there's a program out there called "unifdef" that might be what you
> want.
> 
> -- 
> Perry E. Metzger		perry at piermont.com



More information about the macports-dev mailing list