Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. [ 89%] Linking CXX executable nxos_netstat_helper
  2. [ 89%] Built target nxos_netstat_helper
  3. [ 91%] Linking CXX executable nomad_ufw_plugin_helper
  4. /build/nomad-firewall/src/nomad-firewall/plugins/ufw/appprofiles.cpp: In function ‘const QList<UFW::AppProfiles::Entry>& UFW::AppProfiles::get()’:
  5. /build/nomad-firewall/src/nomad-firewall/plugins/ufw/appprofiles.cpp:78:23: error: ‘void qSort(Container&) [with Container = QList<UFW::AppProfiles::Entry>]’ is deprecated: Use std::sort [-Werror=deprecated-declarations]
  6. 78 | qSort(profiles);
  7. | ^
  8. In file included from /usr/include/qt/QtCore/qlist.h:43,
  9. from /usr/include/qt/QtCore/QList:1,
  10. from /build/nomad-firewall/src/nomad-firewall/plugins/ufw/appprofiles.h:27,
  11. from /build/nomad-firewall/src/nomad-firewall/plugins/ufw/appprofiles.cpp:24:
  12. /usr/include/qt/QtCore/qalgorithms.h:188:46: note: declared here
  13. 188 | QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c)
  14. | ^~~~~
  15. /build/nomad-firewall/src/nomad-firewall/plugins/ufw/appprofiles.cpp:78:23: error: ‘void qSort(Container&) [with Container = QList<UFW::AppProfiles::Entry>]’ is deprecated: Use std::sort [-Werror=deprecated-declarations]
  16. 78 | qSort(profiles);
  17. | ^
  18. In file included from /usr/include/qt/QtCore/qlist.h:43,
  19. from /usr/include/qt/QtCore/QList:1,
  20. from /build/nomad-firewall/src/nomad-firewall/plugins/ufw/appprofiles.h:27,
  21. from /build/nomad-firewall/src/nomad-firewall/plugins/ufw/appprofiles.cpp:24:
  22. /usr/include/qt/QtCore/qalgorithms.h:188:46: note: declared here
  23. 188 | QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c)
  24. | ^~~~~
  25. [ 91%] Built target nomad_ufw_plugin_helper
  26. cc1plus: all warnings being treated as errors
  27. make[2]: *** [plugins/ufw/CMakeFiles/nomad_ufw_plugin.dir/build.make:154: plugins/ufw/CMakeFiles/nomad_ufw_plugin.dir/appprofiles.cpp.o] Error 1
  28. make[2]: *** Waiting for unfinished jobs....
  29. [ 94%] Linking CXX shared library libnomad_netstat_plugin.so
  30. make[1]: *** [CMakeFiles/Makefile2:1213: plugins/ufw/CMakeFiles/nomad_ufw_plugin.dir/all] Error 2
  31. make[1]: *** Waiting for unfinished jobs....
  32. [ 94%] Built target nomad_netstat_plugin
  33. [ 97%] Linking CXX shared module org.nxos.firewall.so
  34. [ 97%] Built target org.nxos.firewall
  35. make: *** [Makefile:130: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement