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 <[email protected]> > 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 [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
