Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LANG=C make
- g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DFLUID_LOCAL -DFLUID_STATIC -DGIT_VERSION=v0.0.2 -DQUAZIP_BUILD -DQUAZIP_STATIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -Ifluid/src/fluid -Ifluid/src/imports/core -Ifluid/src/imports/controls -Iquazip/quazip -I. -o dateutils.o fluid/src/fluid/dateutils.cpp
- In file included from fluid/src/fluid/dateutils.cpp:16:0:
- fluid/src/fluid/dateutils.h:35:26: error: ISO C++ forbids declaration of 'Q_ENUM' with no type [-fpermissive]
- Q_ENUM(DurationFormat)
- ^
- fluid/src/fluid/dateutils.h:35:26: error: expected ';' at end of member declaration
- fluid/src/fluid/dateutils.h:38:24: error: ISO C++ forbids declaration of 'Q_ENUM' with no type [-fpermissive]
- Q_ENUM(DurationType)
- ^
- fluid/src/fluid/dateutils.h:38:24: error: expected ';' at end of member declaration
- fluid/src/fluid/dateutils.cpp: In static member function 'static QString Fluid::DateUtils::formatDuration(qlonglong, Fluid::DateUtils::DurationFormat, Fluid::DateUtils::DurationType)':
- fluid/src/fluid/dateutils.cpp:39:41: error: 'QStringLiteral' was not declared in this scope
- string = QStringLiteral("%1").arg(seconds, 2, 10, QLatin1Char('0'));
- ^
- fluid/src/fluid/dateutils.cpp:41:42: error: 'QStringLiteral' was not declared in this scope
- string = QStringLiteral("%1s").arg(seconds);
- ^
- fluid/src/fluid/dateutils.cpp:47:48: error: 'QStringLiteral' was not declared in this scope
- string = QStringLiteral("%1:%2").arg(minutes, 2, 10, QLatin1Char('0')).arg(string);
- ^
- fluid/src/fluid/dateutils.cpp:49:45: error: 'QStringLiteral' was not declared in this scope
- string = QStringLiteral("%1").arg(minutes, 2, 10, QLatin1Char('0'));
- ^
- fluid/src/fluid/dateutils.cpp:51:45: error: 'QStringLiteral' was not declared in this scope
- string = QStringLiteral("%1m %2").arg(minutes).arg(string);
- ^
- fluid/src/fluid/dateutils.cpp:58:48: error: 'QStringLiteral' was not declared in this scope
- string = QStringLiteral("%1:%2").arg(hours).arg(string);
- ^
- fluid/src/fluid/dateutils.cpp:60:45: error: 'QStringLiteral' was not declared in this scope
- string = QStringLiteral("%1").arg(hours);
- ^
- fluid/src/fluid/dateutils.cpp:62:45: error: 'QStringLiteral' was not declared in this scope
- string = QStringLiteral("%1h %2").arg(hours).arg(string);
- ^
- Makefile:1428: recipe for target 'dateutils.o' failed
- make: *** [dateutils.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement