Subject: Re: please (test and) review wip/pkg_select
To: iMil <imil@home.imil.net>
From: Rui-Xiang Guo <rxg@myrealbox.com>
List: tech-pkg
Date: 02/21/2005 20:28:27
> >===> Building for pkg_select-20050221
> >#   compile  pkg_select-20050221/parsedirs.o
> >cc -O2 -g -DPKGSRCBASE=\"/usr/pkgsrc\" -DPKGDB=\"/var/db/pkg\"  -Wall 
> >-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
> >-Wno-traditional -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow 
> >-Wcast-qual -Wwrite-strings  -Werror       -c    parsedirs.c
> >parsedirs.c: In function `pkgfind':
> >parsedirs.c:234: warning: subscript has type `char'
> >*** Error code 1
> 
> strange, i can't reproduce this error here, anyway i added an int cast 
> that should correct this problem. What's your platform ? mk.conf's CFLAGS 
> ?

Sorry, forgot to mention it. It's NetBSD/i386 -current.
I don't set CFLAGS in mk.conf.