[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] test-inttostr: avoid warnings about 4-6KB literal strings
From: |
Jim Meyering |
Subject: |
Re: [PATCH] test-inttostr: avoid warnings about 4-6KB literal strings |
Date: |
Fri, 11 Jun 2010 17:42:40 +0200 |
Eric Blake wrote:
> On 06/11/2010 09:36 AM, Jim Meyering wrote:
>> FYI, I was not happy to see the 10 new warnings like this one:
>>
>> test-inttostr.c:66:3: warning: string length '5001' is greater than the
>> length '4095' ISO C99 compilers are required to support
>> [-Woverlength-strings]
>>
>>
>>>From 560b837a96eee265a5d7f20da2277f2fdc2b6562 Mon Sep 17 00:00:00 2001
>> From: Jim Meyering <address@hidden>
>> Date: Fri, 11 Jun 2010 17:31:04 +0200
>> Subject: [PATCH] test-inttostr: avoid warnings about 4-6KB literal strings
>>
>> * tests/test-inttostr.c: Don't use <assert.h>. Instead, ...
>> (ASSERT): Define.
>
> Rather than defining it, why not include macros.h from the test directory?
Good idea. Thanks.