Package: qbrew
Version: 0.3.5-2
Severity: important
Tags: patch
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is below.
> Automatic build of qbrew_0.3.5-2 on bigsur by sbuild/mips 1.94
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -DNDEBUG -D_REENTRANT
> -Wno-non-virtual-dtor -I/usr/include/qt3 -MT main.o -MD -MP -MF
> ".deps/main.Tpo" -c -o main.o main.cpp; \
> then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
> ".deps/main.Tpo"; exit 1; fi
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -DNDEBUG -D_REENTRANT
> -Wno-non-virtual-dtor -I/usr/include/qt3 -MT alcoholtool.o -MD -MP -MF
> ".deps/alcoholtool.Tpo" -c -o alcoholtool.o alcoholtool.cpp; \
> then mv -f ".deps/alcoholtool.Tpo" ".deps/alcoholtool.Po"; else rm -f
> ".deps/alcoholtool.Tpo"; exit 1; fi
> calc.h:178: error: extra qualification 'Calc::' on member 'SgToP'
> calc.h:180: error: extra qualification 'Calc::' on member 'extractToYield'
> calc.h:181: error: extra qualification 'Calc::' on member 'yieldToExtract'
> calc.h:186: error: extra qualification 'Calc::' on member 'getUEntryList'
> make[3]: *** [alcoholtool.o] Error 1
> make[3]: Leaving directory `/build/tbm/qbrew-0.3.5/qbrew'
--- ./qbrew/calc.h~ 2006-03-17 13:56:24.000000000 +0000
+++ ./qbrew/calc.h 2006-03-17 13:56:32.000000000 +0000
@@ -175,15 +175,15 @@
static int SRM(Recipe *r);
// convert Specific Gravity to Plato
- static double Calc::SgToP(double sg);
+ static double SgToP(double sg);
// convert grain extract to yield
- static double Calc::extractToYield(double extract);
- static double Calc::yieldToExtract(double yield);
+ static double extractToYield(double extract);
+ static double yieldToExtract(double yield);
// add an entry to the utilization table
static void addUEntry(const UEntry &u);
// get the table of utilizations
- static const QValueList<UEntry> &Calc::getUEntryList();
+ static const QValueList<UEntry> &getUEntryList();
private:
static double calcOG(Recipe *r);
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]