Advertisement
illwieckz

updater2: fluid/src/fluid/dateutils.h error

Jul 3rd, 2017
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 3.05 KB | None | 0 0
  1. LANG=C make
  2. 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
  3. In file included from fluid/src/fluid/dateutils.cpp:16:0:
  4. fluid/src/fluid/dateutils.h:35:26: error: ISO C++ forbids declaration of 'Q_ENUM' with no type [-fpermissive]
  5.      Q_ENUM(DurationFormat)
  6.                           ^
  7. fluid/src/fluid/dateutils.h:35:26: error: expected ';' at end of member declaration
  8. fluid/src/fluid/dateutils.h:38:24: error: ISO C++ forbids declaration of 'Q_ENUM' with no type [-fpermissive]
  9.      Q_ENUM(DurationType)
  10.                         ^
  11. fluid/src/fluid/dateutils.h:38:24: error: expected ';' at end of member declaration
  12. fluid/src/fluid/dateutils.cpp: In static member function 'static QString Fluid::DateUtils::formatDuration(qlonglong, Fluid::DateUtils::DurationFormat, Fluid::DateUtils::DurationType)':
  13. fluid/src/fluid/dateutils.cpp:39:41: error: 'QStringLiteral' was not declared in this scope
  14.              string = QStringLiteral("%1").arg(seconds, 2, 10, QLatin1Char('0'));
  15.                                          ^
  16. fluid/src/fluid/dateutils.cpp:41:42: error: 'QStringLiteral' was not declared in this scope
  17.              string = QStringLiteral("%1s").arg(seconds);
  18.                                           ^
  19. fluid/src/fluid/dateutils.cpp:47:48: error: 'QStringLiteral' was not declared in this scope
  20.                  string = QStringLiteral("%1:%2").arg(minutes, 2, 10, QLatin1Char('0')).arg(string);
  21.                                                 ^
  22. fluid/src/fluid/dateutils.cpp:49:45: error: 'QStringLiteral' was not declared in this scope
  23.                  string = QStringLiteral("%1").arg(minutes, 2, 10, QLatin1Char('0'));
  24.                                              ^
  25. fluid/src/fluid/dateutils.cpp:51:45: error: 'QStringLiteral' was not declared in this scope
  26.              string = QStringLiteral("%1m %2").arg(minutes).arg(string);
  27.                                              ^
  28. fluid/src/fluid/dateutils.cpp:58:48: error: 'QStringLiteral' was not declared in this scope
  29.                  string = QStringLiteral("%1:%2").arg(hours).arg(string);
  30.                                                 ^
  31. fluid/src/fluid/dateutils.cpp:60:45: error: 'QStringLiteral' was not declared in this scope
  32.                  string = QStringLiteral("%1").arg(hours);
  33.                                              ^
  34. fluid/src/fluid/dateutils.cpp:62:45: error: 'QStringLiteral' was not declared in this scope
  35.              string = QStringLiteral("%1h %2").arg(hours).arg(string);
  36.                                              ^
  37. Makefile:1428: recipe for target 'dateutils.o' failed
  38. make: *** [dateutils.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement