[Slackbuilds-users] gpsbabel, long list of errors

Frédéric Falsetti falsetti at clansco.org
Mon Jun 12 15:30:45 UTC 2017


Hi, anybody can build gpsbabel ?

error Qt requires a C++11 compiler and yours does not seem to be that.
a long list of errors and 

In file included from /usr/include/qt5/QtCore/qshareddata.h:46:0,
                 from /usr/include/qt5/QtCore/qdatetime.h:45,
                 from /usr/include/qt5/QtCore/QDateTime:1,
                 from src/core/datetime.h:27,
                 from defs.h:39,
                 from main.cc:22:
/usr/include/qt5/QtCore/qhash.h: Dans la fonction membre 'QPair<QHash<K, V>::iterator, QHash<K, V>::iterator> QHash<K, V>::equal_range(const Key&)':
/usr/include/qt5/QtCore/qhash.h:957:5: attention : 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
     auto pair = qAsConst(*this).equal_range(akey);
     ^
/usr/include/qt5/QtCore/qhash.h:957:10: erreur: 'pair' does not name a type
     auto pair = qAsConst(*this).equal_range(akey);
          ^
/usr/include/qt5/QtCore/qhash.h:958:31: erreur: 'pair' was not declared in this scope
     return qMakePair(iterator(pair.first.i), iterator(pair.second.i));
                               ^
/usr/include/qt5/QtCore/qhash.h:958:31: note: suggested alternative:
In file included from /usr/include/c++/5.3.0/utility:70:0,
                 from /usr/include/qt5/QtCore/qcompilerdetection.h:1001,
                 from /usr/include/qt5/QtCore/qglobal.h:83,
                 from /usr/include/qt5/QtCore/qchar.h:43,
                 from /usr/include/qt5/QtCore/qstring.h:48,
                 from /usr/include/qt5/QtCore/qtextcodec.h:43,
                 from /usr/include/qt5/QtCore/QTextCodec:1,
                 from main.cc:20:
/usr/include/c++/5.3.0/bits/stl_pair.h:96:12: note:   'std::pair'
     struct pair
            ^
Makefile:128: recipe for target 'main.o' failed
make: *** [main.o] Error 1


More information about the SlackBuilds-users mailing list