[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: logging an optional input location
From: |
Dan Eble |
Subject: |
Re: logging an optional input location |
Date: |
Sat, 12 May 2018 16:34:59 -0400 |
On May 12, 2018, at 16:17, Carl Sorensen <address@hidden> wrote:
>
> Does our code base use the optional second parameter anywhere? If not, maybe
> it would be even simpler to eliminate the optional second parameter, and just
> call
>
> warning (_f (. . .), origin);
>
> and keep all the testing for a null pointer in the warning function.
Carl,
I’m pretty confident I can enable that syntax, though there is a chance the
implementation will be perceived as too clever; but since you mention it, I’ll
give it a try and see how it turns out.
Thanks,
—
Dan