Package: hk-classes Version: 0.7.3-1 Severity: serious Tags: patch hk-classes fails to build because some classes are not declared before they are used:
> if /bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. > -I.. -DHKCLASSES=\"/usr/lib/hk_classes\" -Wall -I/usr/include/python2.3 -g > -O2 -MT libhk_classes_la-hk_actionquery.lo -MD -MP -MF > ".deps/libhk_classes_la-hk_actionquery.Tpo" -c -o > libhk_classes_la-hk_actionquery.lo `test -f 'hk_actionquery.cpp' || echo > './'`hk_actionquery.cpp; \ > then mv -f ".deps/libhk_classes_la-hk_actionquery.Tpo" > ".deps/libhk_classes_la-hk_actionquery.Plo"; else rm -f > ".deps/libhk_classes_la-hk_actionquery.Tpo"; exit 1; fi > mkdir .libs > g++ -DHAVE_CONFIG_H -I. -I. -I.. -DHKCLASSES=\"/usr/lib/hk_classes\" -Wall > -I/usr/include/python2.3 -g -O2 -MT libhk_classes_la-hk_actionquery.lo -MD > -MP -MF .deps/libhk_classes_la-hk_actionquery.Tpo -c hk_actionquery.cpp > -fPIC -DPIC -o .libs/libhk_classes_la-hk_actionquery.o > hk_dsvisible.h:36: error: 'hk_datasource' has not been declared > hk_dsvisible.h:39: error: ISO C++ forbids declaration of 'hk_datasource' with > no type > hk_dsvisible.h:39: error: expected ';' before '*' token > hk_dsvisible.h:208: error: ISO C++ forbids declaration of 'hk_datasource' > with no type > hk_dsvisible.h:208: error: expected ';' before '*' token The attached patch fixes these problems. -- Matt
only in patch2: unchanged: --- hk-classes-0.7.3.orig/hk_classes/hk_dsvisible.h +++ hk-classes-0.7.3/hk_classes/hk_dsvisible.h @@ -14,6 +14,7 @@ #include "hk_visible.h" #include "hk_datetime.h" using namespace std; +class hk_datasource; class hk_dsvisiblemodeprivate; class hk_dsvisibleprivate; /** only in patch2: unchanged: --- hk-classes-0.7.3.orig/hk_classes/hk_report.h +++ hk-classes-0.7.3/hk_classes/hk_report.h @@ -21,6 +21,7 @@ using namespace std; class hk_reportsection; +class hk_reportsectionpair; class hk_reportdata; class hk_report; class hk_column;
signature.asc
Description: Digital signature