Date: Wed, 10 Mar 2004 17:37:28 -0500 From: Paul Pathiakis <paul@pathiakis.com> To: ports@freebsd.org Subject: Qhacc 2.9.8 Message-ID: <200403101737.28017.paul@pathiakis.com>
next in thread | raw e-mail | index | archive | help
Hi, It doesn't seem to compile. On a 5.2 machine, I get the following while building: gmake[3]: Entering directory `/usr/ports/finance/qhacc/work/qhacc-2.9.8/plugins/reports' if c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include -I../../lib -I../../src -D_THREAD_SAFE -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -D_GETOPT_H -Wall -Wnon-virtual-dtor -Wno-long-long -Wundef -W -Wpointer-arith -Wwrite-strings -Wcast-align -Wconversion -fPIC -O -pipe -mcpu=pentiumpro -MT reporter.o -MD -MP -MF ".deps/reporter.Tpo" \ -c -o reporter.o `test -f 'reporter.cpp' || echo './'`reporter.cpp; \ then mv -f ".deps/reporter.Tpo" ".deps/reporter.Po"; \ else rm -f ".deps/reporter.Tpo"; exit 1; \ fi In file included from reporter.cpp:20: reporter.h:30: error: syntax error before `{' token reporter.h:33: error: destructors must be member functions reporter.h:33: error: virtual outside class declaration reporter.h:36: error: virtual outside class declaration reporter.h:39: error: virtual outside class declaration reporter.h:46: error: virtual outside class declaration reporter.h:46: error: function `std::auto_ptr<QHaccResultSet> generate(QHaccResultSet*, std::vector<TableSelect, std::allocator<TableSelect> >, QString&)' is initialized like a variable reporter.h:52: error: virtual outside class declaration reporter.h:52: error: function `std::auto_ptr<QHaccResultSet> generate(unsigned int, QHaccResultSet*, const QDate&, const QDate&, QString&)' is initialized like a variable reporter.h:57: error: syntax error before `protected' In file included from reporter.cpp:20: reporter.h:20:1: unterminated #ifndef gmake[3]: *** [reporter.o] Error 1 gmake[3]: Leaving directory `/usr/ports/finance/qhacc/work/qhacc-2.9.8/plugins/reports' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/finance/qhacc/work/qhacc-2.9.8/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/finance/qhacc/work/qhacc-2.9.8' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/finance/qhacc. Thanks! Paul Pathiakis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403101737.28017.paul>