=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for sfslite-1.2.7nb1 sed -f ./autoconf.sed config.h > autoconf.h~ cmp autoconf.h~ autoconf.h > /dev/null 2>&1 \ || mv -f autoconf.h~ autoconf.h /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/usr/pkgsrc/work/devel/sfslite/work/sfslite-1.2.7' Making all in async gmake[2]: Entering directory '/usr/pkgsrc/work/devel/sfslite/work/sfslite-1.2.7/async' /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT arandom.lo -MD -MP -MF .deps/arandom.Tpo -c -o arandom.lo arandom.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT arandom.lo -MD -MP -MF .deps/arandom.Tpo -c arandom.c -fPIC -DPIC -o .libs/arandom.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT arandom.lo -MD -MP -MF .deps/arandom.Tpo -c arandom.c -o arandom.o >/dev/null 2>&1 mv -f .deps/arandom.Tpo .deps/arandom.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT clock_gettime.lo -MD -MP -MF .deps/clock_gettime.Tpo -c -o clock_gettime.lo clock_gettime.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT clock_gettime.lo -MD -MP -MF .deps/clock_gettime.Tpo -c clock_gettime.c -fPIC -DPIC -o .libs/clock_gettime.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT clock_gettime.lo -MD -MP -MF .deps/clock_gettime.Tpo -c clock_gettime.c -o clock_gettime.o >/dev/null 2>&1 mv -f .deps/clock_gettime.Tpo .deps/clock_gettime.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT flock.lo -MD -MP -MF .deps/flock.Tpo -c -o flock.lo flock.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT flock.lo -MD -MP -MF .deps/flock.Tpo -c flock.c -fPIC -DPIC -o .libs/flock.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT flock.lo -MD -MP -MF .deps/flock.Tpo -c flock.c -o flock.o >/dev/null 2>&1 mv -f .deps/flock.Tpo .deps/flock.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT rwfd.lo -MD -MP -MF .deps/rwfd.Tpo -c -o rwfd.lo rwfd.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT rwfd.lo -MD -MP -MF .deps/rwfd.Tpo -c rwfd.c -fPIC -DPIC -o .libs/rwfd.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT rwfd.lo -MD -MP -MF .deps/rwfd.Tpo -c rwfd.c -o rwfd.o >/dev/null 2>&1 mv -f .deps/rwfd.Tpo .deps/rwfd.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -w -c ./stktrace.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -w -c ./stktrace.c -fPIC -DPIC -o .libs/stktrace.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -w -c ./stktrace.c -o stktrace.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT suidprotect.lo -MD -MP -MF .deps/suidprotect.Tpo -c -o suidprotect.lo suidprotect.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT suidprotect.lo -MD -MP -MF .deps/suidprotect.Tpo -c suidprotect.c -fPIC -DPIC -o .libs/suidprotect.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT suidprotect.lo -MD -MP -MF .deps/suidprotect.Tpo -c suidprotect.c -o suidprotect.o >/dev/null 2>&1 mv -f .deps/suidprotect.Tpo .deps/suidprotect.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT maketables.lo -MD -MP -MF .deps/maketables.Tpo -c -o maketables.lo maketables.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT maketables.lo -MD -MP -MF .deps/maketables.Tpo -c maketables.c -fPIC -DPIC -o .libs/maketables.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT maketables.lo -MD -MP -MF .deps/maketables.Tpo -c maketables.c -o maketables.o >/dev/null 2>&1 mv -f .deps/maketables.Tpo .deps/maketables.Plo cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT dftables.o -MD -MP -MF .deps/dftables.Tpo -c -o dftables.o dftables.c mv -f .deps/dftables.Tpo .deps/dftables.Po /bin/sh ../libtool --tag=CC --mode=link cc -O2 -march=i586 -I/usr/pkg/include -Wall -Wl,-R/usr/pkg/lib -o dftables dftables.o libtool: link: cc -O2 -march=i586 -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -Wall -Wl,-R/usr/pkg/lib -o dftables dftables.o -L/usr/pkgsrc/work/devel/sfslite/work/.buildlink/lib ./dftables chartables.c /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT pcre.lo -MD -MP -MF .deps/pcre.Tpo -c -o pcre.lo pcre.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT pcre.lo -MD -MP -MF .deps/pcre.Tpo -c pcre.c -fPIC -DPIC -o .libs/pcre.o pcre.c:1338:6: warning: explicitly assigning value of variable of type 'BOOL' (aka 'int') to itself [-Wself-assign] utf8 = utf8; /* Stop pedantic compilers complaining */ ~~~~ ^ ~~~~ pcre.c:1411:6: warning: explicitly assigning value of variable of type 'BOOL' (aka 'int') to itself [-Wself-assign] utf8 = utf8; /* Stop pedantic compilers complaining */ ~~~~ ^ ~~~~ pcre.c:2891:35: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] else if ((digitab[ptr[1]] && ctype_digit) != 0) ^ ~~~~~~~~~~~ pcre.c:2891:35: note: use '&' for a bitwise operation else if ((digitab[ptr[1]] && ctype_digit) != 0) ^~ & pcre.c:2891:35: note: remove constant to silence this warning else if ((digitab[ptr[1]] && ctype_digit) != 0) ~^~~~~~~~~~~~~~ 3 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT pcre.lo -MD -MP -MF .deps/pcre.Tpo -c pcre.c -o pcre.o >/dev/null 2>&1 mv -f .deps/pcre.Tpo .deps/pcre.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT study.lo -MD -MP -MF .deps/study.Tpo -c -o study.lo study.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT study.lo -MD -MP -MF .deps/study.Tpo -c study.c -fPIC -DPIC -o .libs/study.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT study.lo -MD -MP -MF .deps/study.Tpo -c study.c -o study.o >/dev/null 2>&1 mv -f .deps/study.Tpo .deps/study.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT aerr.lo -MD -MP -MF .deps/aerr.Tpo -c -o aerr.lo aerr.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT aerr.lo -MD -MP -MF .deps/aerr.Tpo -c aerr.C -fPIC -DPIC -o .libs/aerr.o In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:87:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref); ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:88:21: note: in instantiation of template class 'callback' requested here void ident (int fd, callback::ref); ^ In file included from aerr.C:25: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ 22 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT aerr.lo -MD -MP -MF .deps/aerr.Tpo -c aerr.C -o aerr.o >/dev/null 2>&1 mv -f .deps/aerr.Tpo .deps/aerr.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT aio.lo -MD -MP -MF .deps/aio.Tpo -c -o aio.lo aio.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT aio.lo -MD -MP -MF .deps/aio.Tpo -c aio.C -fPIC -DPIC -o .libs/aio.o In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:87:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref); ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:88:21: note: in instantiation of template class 'callback' requested here void ident (int fd, callback::ref); ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./aiod.h:68:11: note: in instantiation of template class 'callback, void, void>' requested here typedef callback >::ref cbb; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./aiod.h:70:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cbstat; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./aiod.h:71:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cbstatvfs; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./aiod.h:72:11: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbopen; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./aiod.h:105:17: note: in instantiation of template class 'ref' requested here ref buf; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./vec.h:58:27: note: in instantiation of template class 'ref, void, void> >' requested here char defbuf_space[N * sizeof (elm_t)]; ^ ./vec.h:56:3: note: in instantiation of member class 'vec_base, void, void> >, 1>::(anonymous union at ./vec.h:56:3)' requested here union { ^ ./vec.h:89:52: note: in instantiation of template class 'vec_base, void, void> >, 1>' requested here template class vec : public vec_base { ^ ./aiod.h:107:17: note: in instantiation of template class 'vec, void, void> >, 1>' requested here vec cbvec; ^ ./aiod.h:111:10: warning: class 'request' was previously declared as a struct [-Wmismatched-tags] friend class request; ^ ./aiod.h:104:10: note: previous use is here struct request { ^ ./aiod.h:111:10: note: did you mean struct here? friend class request; ^~~~~ struct In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:209:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) { ^ ./ihash.h:242:12: note: in instantiation of template class 'ihash_core' requested here : public ihash_core ^ ./aiod.h:136:64: note: in instantiation of template class 'ihash, equals >' requested here ihash rqtab; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:217:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) const { ^ ./ihash.h:242:12: note: in instantiation of template class 'ihash_core' requested here : public ihash_core ^ ./aiod.h:136:64: note: in instantiation of template class 'ihash, equals >' requested here ihash rqtab; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./aiod.h:177:29: note: in instantiation of template class 'ptr' requested here { pathop (op, path, NULL, wrap (cbstat_cb, cb), sizeof (struct stat)); } ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./aiod.h:177:29: note: in instantiation of template class 'ref >' requested here { pathop (op, path, NULL, wrap (cbstat_cb, cb), sizeof (struct stat)); } ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./aiod.h:179:31: note: in instantiation of template class 'ref >' requested here { pathop (op, path, NULL, wrap (cbstatvfs_cb, cb), ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./aiod.h:211:33: note: in instantiation of template class 'ref >' requested here void readlink (str path, cbsi cb) ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./aiod.h:221:54: note: in instantiation of template class 'ref, int, void> >' requested here void open2 (sfs::bundle_t b, cbopen cb) ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./aiod.h:260:11: note: in instantiation of template class 'callback, int, int>' requested here typedef callback, ssize_t, int>::ref cbrw; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./aiod.h:271:28: note: in instantiation of template class 'ptr >' requested here void sendclose (cbi::ptr cb = NULL); ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./aiod.h:286:35: note: in instantiation of template class 'ref' requested here { simpleop (AIOD_FSYNC, wrap (mkref (this), &aiofh::cbi_cb, cb), ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./aiod.h:291:47: note: in instantiation of template class 'ref, int, int> >' requested here void read (off_t pos, ptr buf, cbrw cb) ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ aio.C:254:19: note: in instantiation of template class 'ref >' requested here rqtab.traverse (wrap (this, &aiod::delreq)); ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ aio.C:254:19: note: in instantiation of template class 'ref >' requested here rqtab.traverse (wrap (this, &aiod::delreq)); ^ In file included from aio.C:24: In file included from ./aiod.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ aio.C:421:6: note: in instantiation of template class 'ptr' requested here (*cb) (NULL, EIO); ^ 50 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT aio.lo -MD -MP -MF .deps/aio.Tpo -c aio.C -o aio.o >/dev/null 2>&1 mv -f .deps/aio.Tpo .deps/aio.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT aios.lo -MD -MP -MF .deps/aios.Tpo -c -o aios.lo aios.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT aios.lo -MD -MP -MF .deps/aios.Tpo -c aios.C -fPIC -DPIC -o .libs/aios.o In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from aios.C:26: In file included from ./aios.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./aios.h:40:11: note: in instantiation of template class 'callback' requested here typedef callback::ptr rcb_t; ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./aios.h:41:11: note: in instantiation of template class 'callback' requested here typedef callback::ptr wcb_t; ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./aios.h:45:9: note: in instantiation of template class 'ptr >' requested here rcb_t rcb; ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./aios.h:58:39: note: in instantiation of template class 'ref >' requested here { infn = &aios::rnone; rcb_t::ref cb = rcb; rcb = NULL; (*cb) (s, err); } ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./aios.h:67:29: note: in instantiation of template class 'ptr >' requested here virtual void mkwcb (wcb_t cb) { if (fd >= 0) (*cb) (err); } ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./aios.h:116:20: note: in instantiation of template class 'ref' requested here static ref alloc (int fd, size_t rbsz = defrbufsize) ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./aios.h:161:44: note: in instantiation of template class 'ptr' requested here aiosout (const aios_t::ptr &a) : strbuf (a->outb), s(a) { s->outstart (); } ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:87:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref); ^ In file included from aios.C:26: In file included from ./aios.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ 27 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT aios.lo -MD -MP -MF .deps/aios.Tpo -c aios.C -o aios.o >/dev/null 2>&1 mv -f .deps/aios.Tpo .deps/aios.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT arena.lo -MD -MP -MF .deps/arena.Tpo -c -o arena.lo arena.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT arena.lo -MD -MP -MF .deps/arena.Tpo -c arena.C -fPIC -DPIC -o .libs/arena.o In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:87:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref); ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:88:21: note: in instantiation of template class 'callback' requested here void ident (int fd, callback::ref); ^ In file included from arena.C:24: In file included from ./arena.h:28: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ 22 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT arena.lo -MD -MP -MF .deps/arena.Tpo -c arena.C -o arena.o >/dev/null 2>&1 mv -f .deps/arena.Tpo .deps/arena.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT armor.lo -MD -MP -MF .deps/armor.Tpo -c -o armor.lo armor.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT armor.lo -MD -MP -MF .deps/armor.Tpo -c armor.C -fPIC -DPIC -o .libs/armor.o In file included from armor.C:24: In file included from ./serial.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from armor.C:24: In file included from ./serial.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from armor.C:24: In file included from ./serial.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from armor.C:24: In file included from ./serial.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from armor.C:24: In file included from ./serial.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from armor.C:24: In file included from ./serial.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from armor.C:24: In file included from ./serial.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ 10 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT armor.lo -MD -MP -MF .deps/armor.Tpo -c armor.C -o armor.o >/dev/null 2>&1 mv -f .deps/armor.Tpo .deps/armor.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT bbuddy.lo -MD -MP -MF .deps/bbuddy.Tpo -c -o bbuddy.lo bbuddy.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT bbuddy.lo -MD -MP -MF .deps/bbuddy.Tpo -c bbuddy.C -fPIC -DPIC -o .libs/bbuddy.o In file included from bbuddy.C:25: In file included from ./bitvec.h:30: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from bbuddy.C:25: In file included from ./bitvec.h:30: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from bbuddy.C:25: In file included from ./bitvec.h:30: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from bbuddy.C:25: In file included from ./bitvec.h:30: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from bbuddy.C:25: In file included from ./bitvec.h:30: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from bbuddy.C:25: In file included from ./bitvec.h:30: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from bbuddy.C:25: In file included from ./bitvec.h:30: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ 10 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT bbuddy.lo -MD -MP -MF .deps/bbuddy.Tpo -c bbuddy.C -o bbuddy.o >/dev/null 2>&1 mv -f .deps/bbuddy.Tpo .deps/bbuddy.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT cbuf.lo -MD -MP -MF .deps/cbuf.Tpo -c -o cbuf.lo cbuf.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT cbuf.lo -MD -MP -MF .deps/cbuf.Tpo -c cbuf.C -fPIC -DPIC -o .libs/cbuf.o libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT cbuf.lo -MD -MP -MF .deps/cbuf.Tpo -c cbuf.C -o cbuf.o >/dev/null 2>&1 mv -f .deps/cbuf.Tpo .deps/cbuf.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT convertint.lo -MD -MP -MF .deps/convertint.Tpo -c -o convertint.lo convertint.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT convertint.lo -MD -MP -MF .deps/convertint.Tpo -c convertint.C -fPIC -DPIC -o .libs/convertint.o In file included from convertint.C:24: In file included from ./parseopt.h:28: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from convertint.C:24: In file included from ./parseopt.h:29: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./parseopt.h:114:9: note: in instantiation of template class 'callback, str, bool *>' requested here typedef callback, str, bool *>::ref confcb; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./parseopt.h:149:3: note: in instantiation of template class 'ref, str, bool *> >' requested here confcb::ptr cnfcb; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./parseopt.h:149:15: note: in instantiation of template class 'ptr, str, bool *> >' requested here confcb::ptr cnfcb; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./parseopt.h:150:3: note: in instantiation of template class 'ref >' requested here cbs::ptr scb; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./parseopt.h:150:12: note: in instantiation of template class 'ptr >' requested here cbs::ptr scb; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:209:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) { ^ ./ihash.h:242:12: note: in instantiation of template class 'ihash_core' requested here : public ihash_core ^ ./parseopt.h:291:71: note: in instantiation of template class 'ihash, equals >' requested here ihash tab; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:217:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) const { ^ ./ihash.h:242:12: note: in instantiation of template class 'ihash_core' requested here : public ihash_core ^ ./parseopt.h:291:71: note: in instantiation of template class 'ihash, equals >' requested here ihash tab; ^ In file included from convertint.C:24: In file included from ./parseopt.h:29: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ 27 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT convertint.lo -MD -MP -MF .deps/convertint.Tpo -c convertint.C -o convertint.o >/dev/null 2>&1 mv -f .deps/convertint.Tpo .deps/convertint.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT core.lo -MD -MP -MF .deps/core.Tpo -c -o core.lo core.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT core.lo -MD -MP -MF .deps/core.Tpo -c core.C -fPIC -DPIC -o .libs/core.o In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:87:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref); ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:88:21: note: in instantiation of template class 'callback' requested here void ident (int fd, callback::ref); ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:209:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) { ^ ./ihash.h:242:12: note: in instantiation of template class 'ihash_core' requested here : public ihash_core ^ core.C:131:55: note: in instantiation of template class 'ihash, equals >' requested here static ihash chldcbs; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:217:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) const { ^ ./ihash.h:242:12: note: in instantiation of template class 'ihash_core' requested here : public ihash_core ^ core.C:131:55: note: in instantiation of template class 'ihash, equals >' requested here static ihash chldcbs; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:209:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) { ^ ./ihash.h:242:12: note: in instantiation of template class 'ihash_core' requested here : public ihash_core ^ core.C:139:66: note: in instantiation of template class 'ihash, equals >' requested here static ihash zombies; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:217:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) const { ^ ./ihash.h:242:12: note: in instantiation of template class 'ihash_core' requested here : public ihash_core ^ core.C:139:66: note: in instantiation of template class 'ihash, equals >' requested here static ihash zombies; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./itree.h:162:23: note: in instantiation of template class 'callback' requested here T *search (typename callback::ref cb) const { ^ ./itree.h:225:12: note: in instantiation of template class 'itree_core > >' requested here : public itree_core > ^ core.C:147:66: note: in instantiation of template class 'itree >' requested here static itree timecbs; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./itree.h:203:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) { ^ ./itree.h:225:12: note: in instantiation of template class 'itree_core > >' requested here : public itree_core > ^ core.C:147:66: note: in instantiation of template class 'itree >' requested here static itree timecbs; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ core.C:188:29: note: in instantiation of template class 'ptr >' requested here chldcb (pid_t pid, cbi::ptr cb) ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./list.h:62:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) const { ^ core.C:421:11: note: in instantiation of template class 'list' requested here lazylist->insert_head (this); ^ In file included from core.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ 37 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT core.lo -MD -MP -MF .deps/core.Tpo -c core.C -o core.o >/dev/null 2>&1 mv -f .deps/core.Tpo .deps/core.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT daemonize.lo -MD -MP -MF .deps/daemonize.Tpo -c -o daemonize.lo daemonize.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT daemonize.lo -MD -MP -MF .deps/daemonize.Tpo -c daemonize.C -fPIC -DPIC -o .libs/daemonize.o In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:87:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref); ^ In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:88:21: note: in instantiation of template class 'callback' requested here void ident (int fd, callback::ref); ^ In file included from daemonize.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ 22 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT daemonize.lo -MD -MP -MF .deps/daemonize.Tpo -c daemonize.C -o daemonize.o >/dev/null 2>&1 mv -f .deps/daemonize.Tpo .deps/daemonize.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT dns.lo -MD -MP -MF .deps/dns.Tpo -c -o dns.lo dns.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT dns.lo -MD -MP -MF .deps/dns.Tpo -c dns.C -fPIC -DPIC -o .libs/dns.o In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:87:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref); ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:88:21: note: in instantiation of template class 'callback' requested here void ident (int fd, callback::ref); ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:104:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbhent; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:109:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbmxlist; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:112:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbsrvlist; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:115:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbtxtlist; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./dns.h:120:19: note: in instantiation of template class 'ref, int, void> >' requested here cbsrvlist cb, bool search = false) ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./dns.h:122:10: note: in instantiation of template class 'ptr' requested here return dns_srvbyname (strbuf ("_%s._%s.%s", srv, proto, name), cb, search); ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:209:27: note: in instantiation of template class 'callback *, void, void>' requested here void traverse (typename callback::ref cb) { ^ ./qhash.h:63:12: note: in instantiation of template class 'ihash_core, &qhash_slot::link>' requested here : public ihash_core, kludge> { ^ ./dnsparse.h:67:9: note: in instantiation of template class 'qhash, equals, qhash_lookup_return, &qhash_slot::link>' requested here map_t name2pos; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:217:27: note: in instantiation of template class 'callback &, void, void>' requested here void traverse (typename callback::ref cb) const { ^ ./qhash.h:63:12: note: in instantiation of template class 'ihash_core, &qhash_slot::link>' requested here : public ihash_core, kludge> { ^ ./dnsparse.h:67:9: note: in instantiation of template class 'qhash, equals, qhash_lookup_return, &qhash_slot::link>' requested here map_t name2pos; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from dns.C:30: ./dnsimpl.h:33:1: warning: 'dnsreq' defined as a class here but previously declared as a struct [-Wmismatched-tags] class dnsreq { ^ ./dns.h:101:9: note: did you mean class here? typedef struct dnsreq dnsreq_t; ^~~~~~ class In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./dnsimpl.h:66:10: note: in instantiation of template class 'ref, int, void> >' requested here cbhent cb; // Callback for hostbyname/addr ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./dnsimpl.h:77:12: note: in instantiation of template class 'ref, int, void> >' requested here cbmxlist cb; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./dnsimpl.h:113:13: note: in instantiation of template class 'ref, int, void> >' requested here cbtxtlist cb; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dnsimpl.h:122:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./dnsimpl.h:124:8: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./dnsimpl.h:125:13: note: in instantiation of template class 'ref' requested here ref destroyed; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./dnsimpl.h:158:16: note: in instantiation of template class 'ptr' requested here ptr udpsock; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:209:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) { ^ ./ihash.h:242:12: note: in instantiation of template class 'ihash_core' requested here : public ihash_core ^ ./dnsimpl.h:177:57: note: in instantiation of template class 'ihash, equals >' requested here ihash reqtab; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:217:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) const { ^ ./ihash.h:242:12: note: in instantiation of template class 'ihash_core' requested here : public ihash_core ^ ./dnsimpl.h:177:57: note: in instantiation of template class 'ihash, equals >' requested here ihash reqtab; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ dns.C:356:6: note: in instantiation of template class 'ptr' requested here wrap (this, &resolver::udpcheck_cb), ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ dns.C:395:5: note: in instantiation of template class 'ref >' requested here wrap (this, &resolv_conf::reload_cb, destroyed, failure)); ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ dns.C:649:15: note: in instantiation of template class 'ptr' requested here ptr m; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ dns.C:806:16: note: in instantiation of template class 'ptr' requested here ptr t; ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./qhash.h:95:21: note: in instantiation of template class 'ref *, void, void> >' requested here core::traverse (wrap (this, &qhash::delslot)); ^ ./qhash.h:98:15: note: in instantiation of member function 'qhash, equals, qhash_lookup_return, &qhash_slot::link>::clear' requested here ~qhash () { clear (); } ^ ./dnsparse.h:69:3: note: in instantiation of member function 'qhash, equals, qhash_lookup_return, &qhash_slot::link>::~qhash' requested here nameset () : pos (0) {} ^ In file included from dns.C:30: In file included from ./dnsimpl.h:28: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./qhash.h:95:21: note: in instantiation of template class 'ref &, void, void> >' requested here core::traverse (wrap (this, &qhash::delslot)); ^ ./qhash.h:98:15: note: in instantiation of member function 'qhash, equals, qhash_lookup_return, &qhash_slot::link>::clear' requested here ~qhash () { clear (); } ^ ./dnsparse.h:69:3: note: in instantiation of member function 'qhash, equals, qhash_lookup_return, &qhash_slot::link>::~qhash' requested here nameset () : pos (0) {} ^ In file included from dns.C:30: ./dnsimpl.h:34:7: warning: private field 'ntries' is not used [-Wunused-private-field] int ntries; ^ 56 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT dns.lo -MD -MP -MF .deps/dns.Tpo -c dns.C -o dns.o >/dev/null 2>&1 mv -f .deps/dns.Tpo .deps/dns.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT dnsparse.lo -MD -MP -MF .deps/dnsparse.Tpo -c -o dnsparse.lo dnsparse.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT dnsparse.lo -MD -MP -MF .deps/dnsparse.Tpo -c dnsparse.C -fPIC -DPIC -o .libs/dnsparse.o In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:87:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref); ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:88:21: note: in instantiation of template class 'callback' requested here void ident (int fd, callback::ref); ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:104:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbhent; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:109:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbmxlist; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:112:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbsrvlist; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:115:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbtxtlist; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./dns.h:120:19: note: in instantiation of template class 'ref, int, void> >' requested here cbsrvlist cb, bool search = false) ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./dns.h:122:10: note: in instantiation of template class 'ptr' requested here return dns_srvbyname (strbuf ("_%s._%s.%s", srv, proto, name), cb, search); ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:209:27: note: in instantiation of template class 'callback *, void, void>' requested here void traverse (typename callback::ref cb) { ^ ./qhash.h:63:12: note: in instantiation of template class 'ihash_core, &qhash_slot::link>' requested here : public ihash_core, kludge> { ^ ./dnsparse.h:67:9: note: in instantiation of template class 'qhash, equals, qhash_lookup_return, &qhash_slot::link>' requested here map_t name2pos; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:217:27: note: in instantiation of template class 'callback &, void, void>' requested here void traverse (typename callback::ref cb) const { ^ ./qhash.h:63:12: note: in instantiation of template class 'ihash_core, &qhash_slot::link>' requested here : public ihash_core, kludge> { ^ ./dnsparse.h:67:9: note: in instantiation of template class 'qhash, equals, qhash_lookup_return, &qhash_slot::link>' requested here map_t name2pos; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ dnsparse.C:399:11: note: in instantiation of template class 'ptr' requested here dnsparse::tohostent () ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ dnsparse.C:435:14: note: in instantiation of template class 'ref' requested here (sizeof (*h) ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ dnsparse.C:477:11: note: in instantiation of template class 'ptr' requested here dnsparse::tomxlist () ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ dnsparse.C:527:16: note: in instantiation of template class 'ref' requested here ref mxl = refcounted::alloc ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ dnsparse.C:664:16: note: in instantiation of template class 'ref' requested here ref s = refcounted::alloc ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ dnsparse.C:684:11: note: in instantiation of template class 'ptr' requested here dnsparse::totxtlist () ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ dnsparse.C:716:16: note: in instantiation of template class 'ref' requested here ref t = refcounted::alloc ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./qhash.h:95:21: note: in instantiation of template class 'ref *, void, void> >' requested here core::traverse (wrap (this, &qhash::delslot)); ^ ./qhash.h:98:15: note: in instantiation of member function 'qhash, equals, qhash_lookup_return, &qhash_slot::link>::clear' requested here ~qhash () { clear (); } ^ ./dnsparse.h:69:3: note: in instantiation of member function 'qhash, equals, qhash_lookup_return, &qhash_slot::link>::~qhash' requested here nameset () : pos (0) {} ^ In file included from dnsparse.C:29: In file included from ./dnsparse.h:29: In file included from ./dns.h:29: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./qhash.h:95:21: note: in instantiation of template class 'ref &, void, void> >' requested here core::traverse (wrap (this, &qhash::delslot)); ^ ./qhash.h:98:15: note: in instantiation of member function 'qhash, equals, qhash_lookup_return, &qhash_slot::link>::clear' requested here ~qhash () { clear (); } ^ ./dnsparse.h:69:3: note: in instantiation of member function 'qhash, equals, qhash_lookup_return, &qhash_slot::link>::~qhash' requested here nameset () : pos (0) {} ^ 45 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT dnsparse.lo -MD -MP -MF .deps/dnsparse.Tpo -c dnsparse.C -o dnsparse.o >/dev/null 2>&1 mv -f .deps/dnsparse.Tpo .deps/dnsparse.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT err.lo -MD -MP -MF .deps/err.Tpo -c -o err.lo err.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT err.lo -MD -MP -MF .deps/err.Tpo -c err.C -fPIC -DPIC -o .libs/err.o In file included from err.C:24: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from err.C:24: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from err.C:24: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from err.C:24: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from err.C:24: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from err.C:24: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from err.C:24: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ 10 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT err.lo -MD -MP -MF .deps/err.Tpo -c err.C -o err.o >/dev/null 2>&1 mv -f .deps/err.Tpo .deps/err.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT fdwait.lo -MD -MP -MF .deps/fdwait.Tpo -c -o fdwait.lo fdwait.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT fdwait.lo -MD -MP -MF .deps/fdwait.Tpo -c fdwait.C -fPIC -DPIC -o .libs/fdwait.o In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from fdwait.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ 17 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT fdwait.lo -MD -MP -MF .deps/fdwait.Tpo -c fdwait.C -o fdwait.o >/dev/null 2>&1 mv -f .deps/fdwait.Tpo .deps/fdwait.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT ident.lo -MD -MP -MF .deps/ident.Tpo -c -o ident.lo ident.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT ident.lo -MD -MP -MF .deps/ident.Tpo -c ident.C -fPIC -DPIC -o .libs/ident.o In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from ident.C:24: In file included from ./rxx.h:32: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:87:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref); ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:88:21: note: in instantiation of template class 'callback' requested here void ident (int fd, callback::ref); ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:104:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbhent; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:109:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbmxlist; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:112:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbsrvlist; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:115:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbtxtlist; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./dns.h:120:19: note: in instantiation of template class 'ref, int, void> >' requested here cbsrvlist cb, bool search = false) ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./dns.h:122:10: note: in instantiation of template class 'ptr' requested here return dns_srvbyname (strbuf ("_%s._%s.%s", srv, proto, name), cb, search); ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./aios.h:45:9: note: in instantiation of template class 'ptr >' requested here rcb_t rcb; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./aios.h:58:39: note: in instantiation of template class 'ref >' requested here { infn = &aios::rnone; rcb_t::ref cb = rcb; rcb = NULL; (*cb) (s, err); } ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./aios.h:67:29: note: in instantiation of template class 'ptr >' requested here virtual void mkwcb (wcb_t cb) { if (fd >= 0) (*cb) (err); } ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./aios.h:116:20: note: in instantiation of template class 'ref' requested here static ref alloc (int fd, size_t rbsz = defrbufsize) ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./aios.h:161:44: note: in instantiation of template class 'ptr' requested here aiosout (const aios_t::ptr &a) : strbuf (a->outb), s(a) { s->outstart (); } ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ident.C:39:16: note: in instantiation of template class 'ptr' requested here ptr h; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ident.C:40:47: note: in instantiation of template class 'ptr, int> >' requested here callback, int>::ptr cb; ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ident.C:73:63: note: in instantiation of template class 'ref, int> >' requested here identptr (int fd, callback, int>::ref cb) ^ In file included from ident.C:24: In file included from ./rxx.h:32: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ident.C:124:32: note: in instantiation of template class 'ref, int, void> >' requested here dns_hostbyaddr (ra.sin_addr, wrap (is, &identstat::dnscb)); ^ 41 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT ident.lo -MD -MP -MF .deps/ident.Tpo -c ident.C -o ident.o >/dev/null 2>&1 mv -f .deps/ident.Tpo .deps/ident.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT ifchg.lo -MD -MP -MF .deps/ifchg.Tpo -c -o ifchg.lo ifchg.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT ifchg.lo -MD -MP -MF .deps/ifchg.Tpo -c ifchg.C -fPIC -DPIC -o .libs/ifchg.o In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:87:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref); ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:88:21: note: in instantiation of template class 'callback' requested here void ident (int fd, callback::ref); ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:104:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbhent; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:109:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbmxlist; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:112:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbsrvlist; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./dns.h:115:9: note: in instantiation of template class 'callback, int, void>' requested here typedef callback, int>::ref cbtxtlist; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./dns.h:120:19: note: in instantiation of template class 'ref, int, void> >' requested here cbsrvlist cb, bool search = false) ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./dns.h:122:10: note: in instantiation of template class 'ptr' requested here return dns_srvbyname (strbuf ("_%s._%s.%s", srv, proto, name), cb, search); ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./list.h:62:27: note: in instantiation of template class 'callback' requested here void traverse (typename callback::ref cb) const { ^ ifchg.C:38:42: note: in instantiation of template class 'list' requested here static list chglist; ^ In file included from ifchg.C:24: In file included from ./async.h:28: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ 34 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT ifchg.lo -MD -MP -MF .deps/ifchg.Tpo -c ifchg.C -o ifchg.o >/dev/null 2>&1 mv -f .deps/ifchg.Tpo .deps/ifchg.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT ihash.lo -MD -MP -MF .deps/ihash.Tpo -c -o ihash.lo ihash.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT ihash.lo -MD -MP -MF .deps/ihash.Tpo -c ihash.C -fPIC -DPIC -o .libs/ihash.o In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from ihash.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ ihash.C:56:23: warning: when type is in parentheses, array cannot have dynamic size ntab = New (void * [nbuckets]); ~ ^~~~~~~~ ~ 18 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT ihash.lo -MD -MP -MF .deps/ihash.Tpo -c ihash.C -o ihash.o >/dev/null 2>&1 mv -f .deps/ihash.Tpo .deps/ihash.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT itree.lo -MD -MP -MF .deps/itree.Tpo -c -o itree.lo itree.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT itree.lo -MD -MP -MF .deps/itree.Tpo -c itree.C -fPIC -DPIC -o .libs/itree.o In file included from itree.C:25: In file included from ./itree.h:29: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct 1 warning generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT itree.lo -MD -MP -MF .deps/itree.Tpo -c itree.C -o itree.o >/dev/null 2>&1 mv -f .deps/itree.Tpo .deps/itree.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT lockfile.lo -MD -MP -MF .deps/lockfile.Tpo -c -o lockfile.lo lockfile.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT lockfile.lo -MD -MP -MF .deps/lockfile.Tpo -c lockfile.C -fPIC -DPIC -o .libs/lockfile.o In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ lockfile.C:151:11: note: in instantiation of template class 'ptr' requested here lockfile::alloc (const str &path, bool wait) ^ In file included from lockfile.C:24: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ lockfile.C:153:17: note: in instantiation of template class 'ref' requested here ref lf = New refcounted (path); ^ 19 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT lockfile.lo -MD -MP -MF .deps/lockfile.Tpo -c lockfile.C -o lockfile.o >/dev/null 2>&1 mv -f .deps/lockfile.Tpo .deps/lockfile.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT malloc.lo -MD -MP -MF .deps/malloc.Tpo -c -o malloc.lo malloc.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT malloc.lo -MD -MP -MF .deps/malloc.Tpo -c malloc.C -fPIC -DPIC -o .libs/malloc.o In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./async.h:39:21: note: in instantiation of template class 'ref >' requested here void chldcb (pid_t, cbi::ptr); ^ In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3345:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:87:24: note: in instantiation of template class 'callback, int>' requested here void identptr (int fd, callback, int>::ref); ^ In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:3346:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:2459:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./async.h:88:21: note: in instantiation of template class 'callback' requested here void ident (int fd, callback::ref); ^ In file included from malloc.C:3: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:2460:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ 22 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT malloc.lo -MD -MP -MF .deps/malloc.Tpo -c malloc.C -o malloc.o >/dev/null 2>&1 mv -f .deps/malloc.Tpo .deps/malloc.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT msb.lo -MD -MP -MF .deps/msb.Tpo -c -o msb.lo msb.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT msb.lo -MD -MP -MF .deps/msb.Tpo -c msb.C -fPIC -DPIC -o .libs/msb.o libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT msb.lo -MD -MP -MF .deps/msb.Tpo -c msb.C -o msb.o >/dev/null 2>&1 mv -f .deps/msb.Tpo .deps/msb.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkg/include -I.. -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -I/usr/pkg/include -Wall -MT myaddrs.lo -MD -MP -MF .deps/myaddrs.Tpo -c -o myaddrs.lo myaddrs.C libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../async -I../crypt -I/usr/pkgsrc/work/devel/sfslite/work/.buildlink/include -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame -I../libaapp -I../svc -DEXECDIR=\"/usr/pkg/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\" -DDATADIR=\"/usr/pkg/share/sfslite\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" -O2 -march=i586 -Wall -MT myaddrs.lo -MD -MP -MF .deps/myaddrs.Tpo -c myaddrs.C -fPIC -DPIC -o .libs/myaddrs.o In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:29: In file included from ./vec.h:30: ./array.h:85:29: warning: 'array' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] template class array { ^ ./array.h:75:29: note: did you mean class here? template struct array; ^~~~~~ class In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:536:1: warning: 'mkcref' defined as a struct template here but previously declared as a class template [-Wmismatched-tags] struct mkcref { ^ ./refcnt.h:407:19: note: did you mean struct here? template class mkcref; ^~~~~ struct In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:687:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./suio++.h:52:11: note: in instantiation of template class 'callback' requested here typedef callback::ref cb_t; ^ In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:688:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./suio++.h:57:10: note: in instantiation of template class 'ref >' requested here cb_t cb; ^ ./suio++.h:251:28: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_vuprintf (struct suio *, const char *, va_list); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:251:28: note: did you mean class here? extern void suio_vuprintf (struct suio *, const char *, va_list); ^~~~~~ class ./suio++.h:252:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] extern void suio_uprintf (struct suio *, const char *, ...) ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:252:27: note: did you mean class here? extern void suio_uprintf (struct suio *, const char *, ...) ^~~~~~ class ./suio++.h:269:27: warning: struct 'suio' was previously declared as a class [-Wmismatched-tags] char *suio_flatten (const struct suio *); ^ ./suio++.h:46:7: note: previous use is here class suio { ^ ./suio++.h:269:27: note: did you mean class here? char *suio_flatten (const struct suio *); ^~~~~~ class In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: ./str.h:178:1: warning: 'bssstr' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct bssstr : public str { ^ ./str.h:91:10: note: did you mean struct here? friend class bssstr; ^~~~~ struct In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:423:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr ptr; ^ ./str.h:273:19: note: in instantiation of template class 'ref' requested here const ref uio; ^ In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:39:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbi; ^ In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:40:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbs; ^ In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./amisc.h:41:9: note: in instantiation of template class 'callback' requested here typedef callback::ref cbb; ^ In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: In file included from ./callback.h:626: ./refcnt.h:485:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref ref; ^ ./amisc.h:105:16: note: in instantiation of template class 'ptr >' requested here cbv::ptr postforkcb = NULL, char *const *env = NULL); ^ myaddrs.C:39:17: error: variable has incomplete type 'struct ifconf' struct ifconf ifc; ^ myaddrs.C:39:10: note: forward declaration of 'ifconf' struct ifconf ifc; ^ myaddrs.C:55:19: error: invalid application of 'sizeof' to an incomplete type 'struct ifconf' if (ioctl (s, SIOCGIFCONF, &ifc) < 0) { ^~~~~~~~~~~ /usr/include/sys/sockio.h:63:21: note: expanded from macro 'SIOCGIFCONF' #define SIOCGIFCONF _IOWR('i', 38, struct ifconf) /* get ifnet list */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ myaddrs.C:39:10: note: forward declaration of 'ifconf' struct ifconf ifc; ^ myaddrs.C:63:23: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ifc.ifc_len + sizeof (struct ifreq) + 64 < len) ^ ~~~~~~~~~~~~~~ myaddrs.C:63:38: note: forward declaration of 'ifreq' if (ifc.ifc_len + sizeof (struct ifreq) + 64 < len) ^ In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:209:27: note: in instantiation of template class 'callback *, void, void>' requested here void traverse (typename callback::ref cb) { ^ ./qhash.h:172:12: note: in instantiation of template class 'ihash_core, &qhash_slot::link>' requested here : public ihash_core, kludge> { ^ myaddrs.C:75:18: note: in instantiation of template class 'bhash, equals, &qhash_slot::link>' requested here bhash addrs; ^ In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ ./callback.h:1573:11: warning: struct 'ref' was previously declared as a class [-Wmismatched-tags] typedef struct ref > ref; ^ ./ihash.h:217:27: note: in instantiation of template class 'callback &, void, void>' requested here void traverse (typename callback::ref cb) const { ^ ./qhash.h:172:12: note: in instantiation of template class 'ihash_core, &qhash_slot::link>' requested here : public ihash_core, kludge> { ^ myaddrs.C:75:18: note: in instantiation of template class 'bhash, equals, &qhash_slot::link>' requested here bhash addrs; ^ In file included from myaddrs.C:25: In file included from ./amisc.h:29: In file included from ./err.h:28: In file included from ./str.h:29: In file included from ./suio++.h:30: ./callback.h:1574:11: warning: struct 'ptr' was previously declared as a class [-Wmismatched-tags] typedef struct ptr > ptr; ^ myaddrs.C:81:18: error: variable has incomplete type 'struct ifreq' struct ifreq ifr = *ifrp; ^ myaddrs.C:80:12: note: forward declaration of 'ifreq' struct ifreq *ifrp = (struct ifreq *) p; ^ myaddrs.C:85:22: error: member access into incomplete type 'struct ifreq' p += sizeof (ifrp->ifr_name) ^ myaddrs.C:80:12: note: forward declaration of 'ifreq' struct ifreq *ifrp = (struct ifreq *) p; ^ myaddrs.C:86:26: error: member access into incomplete type 'struct ifreq' + max (sizeof (ifrp->ifr_addr), (size_t) ifrp->ifr_addr.sa_len); ^ myaddrs.C:80:12: note: forward declaration of 'ifreq' struct ifreq *ifrp = (struct ifreq *) p; ^ myaddrs.C:86:52: error: member access into incomplete type 'struct ifreq' + max (sizeof (ifrp->ifr_addr), (size_t) ifrp->ifr_addr.sa_len); ^ myaddrs.C:80:12: note: forward declaration of 'ifreq' struct ifreq *ifrp = (struct ifreq *) p; ^ myaddrs.C:88:13: error: member access into incomplete type 'struct ifreq' if (ifrp->ifr_addr.sa_family != AF_INET) ^ myaddrs.C:80:12: note: forward declaration of 'ifreq' struct ifreq *ifrp = (struct ifreq *) p; ^ myaddrs.C:90:19: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ioctl (s, SIOCGIFFLAGS, &ifr) < 0) { ^~~~~~~~~~~~ /usr/include/sys/sockio.h:58:22: note: expanded from macro 'SIOCGIFFLAGS' #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) /* get ifnet flags */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ myaddrs.C:80:12: note: forward declaration of 'ifreq' struct ifreq *ifrp = (struct ifreq *) p; ^ myaddrs.C:95:46: error: member access into incomplete type 'struct ifreq' in_addr a = ((struct sockaddr_in *) &ifrp->ifr_addr)->sin_addr; ^ myaddrs.C:80:12: note: forward declaration of 'ifreq' struct ifreq *ifrp = (struct ifreq *) p; ^ 21 warnings and 10 errors generated. Makefile:563: recipe for target 'myaddrs.lo' failed gmake[2]: *** [myaddrs.lo] Error 1 gmake[2]: Leaving directory '/usr/pkgsrc/work/devel/sfslite/work/sfslite-1.2.7/async' Makefile:449: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/devel/sfslite/work/sfslite-1.2.7' Makefile:345: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/devel/sfslite *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/devel/sfslite