Bug#356440: FTBFS with G++ 4.1: extra qualification

Martin Michlmayr tbm at cyrius.com
Sun Mar 12 02:10:58 UTC 2006


Package: vdr-plugin-weather
Version: 0.2.1e-22
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 vdr-plugin-weather_0.2.1e-22 on bigsur by sbuild/mips 1.89
...
> g++ -fPIC -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"weather"' -I/usr/include/vdr/include -I/usr/include -I./images weather.c
> display.h:28: error: extra qualification 'cWeatherOsd::' on member 'getIntensity'
> display.h:29: error: extra qualification 'cWeatherOsd::' on member 'getPrecipitation'
> display.h:30: error: extra qualification 'cWeatherOsd::' on member 'getCoverage'
> make[1]: *** [weather.o] Error 1

--- ./display.h~	2006-03-12 02:07:13.000000000 +0000
+++ ./display.h	2006-03-12 02:07:21.000000000 +0000
@@ -25,9 +25,9 @@
 		void initBorderBitmap(cBitmap &b, tColor col);
 		void drawWindRose(cOsd *osd, int degree, int x, int y);
 		void drawWeather(cOsd *osd, Decoded_METAR *mptr, int x, int y);
-		std::string cWeatherOsd::getIntensity(const std::string weather);
-		std::string cWeatherOsd::getPrecipitation(const std::string weather);
-		std::string cWeatherOsd::getCoverage(const std::string weather);
+		std::string getIntensity(const std::string weather);
+		std::string getPrecipitation(const std::string weather);
+		std::string getCoverage(const std::string weather);
 };
 
 #endif //WEATHER_DISPLAY_H
-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the pkg-vdr-dvb-devel mailing list