bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] test-inttostr: avoid warnings about 4-6KB literal strings


From: Eric Blake
Subject: Re: [PATCH] test-inttostr: avoid warnings about 4-6KB literal strings
Date: Fri, 11 Jun 2010 09:39:58 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4

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?

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]