autoconf-archive-maintainers | |
[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ax_c_printf_thsep generates false-positives
From: |
Reuben Thomas |
Subject: |
Re: ax_c_printf_thsep generates false-positives |
Date: |
Fri, 18 Sep 2009 23:58:02 +0100 |
2009/9/18 Peter Simons <address@hidden>:
> Hi,
>
> the macro ax_c_printf_thsep generates false positives in case the
> compiler doesn't verify printf() usage at compile time:
>
> http://savannah.nongnu.org/patch/index.php?6848
>
> Fixing that problem is a bit of an effort and it's unclear who is going
> to do it (and when). So I wonder how to proceed. I can think of two
> approaches:
>
> 1) Keep the macro as-is but add a warning to the documentation that
> describes the problem.
>
> 2) Obsolete the macro.
>
> Personally, I'd tend to choose (2), because a test that malfunctions
> might be worse than no test at all, but I hesitate to do it.
>
> Does anyone have an opinion on the matter?
Do both: obsolete it, but keep it in a bin somewhere as a partial
solution to a problem that is clearly worth solving if it was worth
writing a macro for in the first place.
--
http://rrt.sc3d.org
L’art des vers est de transformer en beautés les faiblesses (Aragon)