This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to enable -Werror [take 2]
Richard Henderson <rth@redhat.com> writes:
> On Mon, Jan 20, 2003 at 01:46:16PM -0800, Zack Weinberg wrote:
>> + if (sizeof(uchar)) return 0;],
>
> Do you want to check for the sizeof being exactly one?
That code's not being executed. I cribbed the template from autoconf 2.57;
the if() simply makes the value be used.
Checking might not be a bad idea; I wanted to have something directly
replaceable with AC_CHECK_TYPES() once we move to 2.5x.
zw