Re: Some unit tests

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 UTC