Subject: pwlib doesn't build
To: None <email@example.com>
From: Berndt Josef Wulf <firstname.lastname@example.org>
Date: 09/01/2007 14:47:35
pkgsrc/devel/pwlib fails to build due to gcc4 complaining about missing type
definition in header file, see below:
c++ -D_REENTRANT -fno-exceptions -Wall -I/usr/pkgsrc/devel/pwlib/work/pwlib/include -Os -O2 -felide-constructors -x
c++ -c ../../ptclib/asner.cxx -fPIC -DPIC -o /usr/pkgsrc/devel/pwlib/work/pwlib/lib/obj_NetBSD_x86_r/.libs/asner.o
/usr/pkgsrc/devel/pwlib/work/pwlib/include/ptlib/timer.h:363: error: ISO C++
forbids declaration of 'PTimerList' with no type
expected ';' before '*' token
This problem is highlighted in PR#35040 (12-Nov-2006) and PR#35988
(12-Mar-2007). Although PR#35988 was assigned to solaris-pkg-people, this is
a general problem thanks to gcc4.x and not platform related.
Any thoughts on how to fix this?
Perhaps upgrading it to a later version would help? Current release is 1.11.1