W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2005

Re: Some unit tests

From: Vic Bancroft <bancroft@america.net>
Date: Sat, 06 Aug 2005 17:21:56 -0400
Message-ID: <42F529F4.8030008@america.net>
To: Arthur Smith <apsmith@aps.org>
CC: www-lib@w3.org

Arthur Smith wrote:

> The Makefile is hardwired for my configuration - sorry about that, I'm 
> no expert at automake etc.

Ya, I am fiddling with that sort of thing now . . .

I needed to add #include "wwwconf.h" before the #include "wwwsys.h" 
since otherwise I get,

    gcc -g /usr/local -I. -I../Library/src -I../modules/expat/lib
    -I../PICS-client/src -c test_lists.c
    In file included from test_lists.c:2:
    ../Library/src/wwwsys.h:1324: error: conflicting types for ‘sys_errlist’
    /usr/include/bits/sys_errlist.h:28: error: previous declaration of
    ‘sys_errlist’ was here
    make: *** [test_lists.o] Error 1

I may create and import a new CVS module with these tests as not to add 
any dependancies just for the tests. This will be a bit more work, but 
unit tests should be worth it . . .

more,
l8r,
v

-- 
america sig
Received on Saturday, 6 August 2005 21:22:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:45 GMT