Help!!
Born In The USA
Originally uploaded by hippy.dream.
I have finally managed to install the latest OpenSuSe distro on my laptop. KDE is evolving quite fast and I think that SuSe is one of the most user friendly distros right now.
I was going to update my desktop with the latest SuSe too.. but I had my usual bunch of problems. First the installer wouldn’t even load. I supposed there was some problem with my bios, so I had to check that too. A bios update solved my problem.
Installer launched… 10%… 20%… 60%… 90%… got you again!!!!
Some file on the DVD is corrupt and the installation will stop! No way to resume it or to skip the corrupt packages… people at SuSe still need to do some more work to make me very happy ![]()
I used the DVD yesterday on my laptop, ratts! And I don’t need to mention that I already deleted the ISO, do I?
Waiting for the ISO to download again I tried building my OSDaB project files on Unix.
Everything worked perfectly except for some strange issue with GCC.
It seems that it has some problems when instantiating template based classes as default parameters in a method declaration. A trivial typedef would solve it:
myClass {
public:
myMethod(const QHash& attributes = QHash());
}
This won’t build with GCC 4.1.2, but…
myClass {
public:
typedef QHash AttributeMap;
myMethod(const AttributeMap& attributes = AttributeMap());
}
…this will. If have no idea about what the problem is. I would get this error from GCC:
myfile.h:XX: error: expected ‘,’ or ‘…’ before ‘>’ token
myfile.h:XX: error: wrong number of template arguments (1, should be 2)
/usr/include/QtCore/qhash.h:209:
error: provided for ‘template class QHash’
myfile.h:XX: error: default argument missing for parameter 2 of
‘void myClass::myMethod(const QHash&, QString)’
It seems like GCC has problems parsing the comma in the default attribute instantiation.
Now I can’t update the website because SourceForge’s SSH shell service is down since a few days!! Ratts!!! Me and my lucky days!
Fortunately I could still upload the files and update the links that use some entries in an SQL database. phpMyAdmin saved me.. with its horrible interface, but it saved me ![]()
