Hello,
first of all, thank you for airlcd. Makes using my mediacenter much easier.
If you try to compile airlcd-0.2 with gcc version 4.1.1 (earlier version may also be affected) you get an error on configparser.h:
configparser.h:44: error: extra qualification ConfigParser::' on member 'getModule'
The qualifier is not valid at this position. The following patch resolves the problem:
-------------------------------------------------------
--- airlcd-0.2.orig/src/common/configparser.h 2006-06-04 17:27:37.000000000 +0200
+++ airlcd-0.2/src/common/configparser.h 2006-12-04 23:34:10.000000000 +0100
@@ -41,7 +41,7 @@
~ConfigParser();
bool readConfigFile(string fileName);
- TiXmlHandle ConfigParser::getModule(string element)
+ TiXmlHandle getModule(string element)
{ return hRoot->FirstChild( element.c_str() ); }
private:
-------------------------------------------------------
Patch is also attached as a file.
Best regards
Niclas Felske
Patch to resolve compile problem with extra qualifier