Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#54223 - [conky] Will not compile with gcc7
Attached to Project:
Arch Linux
Opened by Bernhard Landauer (oberon) - Monday, 29 May 2017, 14:47 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 01 June 2017, 20:34 GMT
Opened by Bernhard Landauer (oberon) - Monday, 29 May 2017, 14:47 GMT
Last edited by Gaetan Bisson (vesath) - Thursday, 01 June 2017, 20:34 GMT
|
DetailsI would just like to make you aware that current conky code fails to compile with gcc7 due to deprecated syntax. The error messages all concern file luamm.hh with bad usage of <code/>cpp_function</code>:
<code>/src/luamm.hh:39:15: error: ‘function’ in namespace ‘std’ does not name a template type typedef std::function<int(state *)> cpp_function;</code> I've already reported the issue upstream: https://github.com/brndnmtthws/conky/issues/396 |
This task depends upon
Closed by Gaetan Bisson (vesath)
Thursday, 01 June 2017, 20:34 GMT
Reason for closing: Fixed
Additional comments about closing: in SVN
Thursday, 01 June 2017, 20:34 GMT
Reason for closing: Fixed
Additional comments about closing: in SVN
diff -bur conky-1.10.6-orig/src/luamm.hh conky-1.10.6/src/luamm.hh
--- conky-1.10.6-orig/src/luamm.hh 2016-12-04 17:13:57.000000000 +0200
+++ conky-1.10.6/src/luamm.hh 2017-05-31 20:05:59.000000000 +0300
@@ -28,6 +28,7 @@
#include <exception>
#include <stdexcept>
#include <string>
+#include <functional>
#include <lua.hpp>
---------------------------
EDIT: Can I use any kind of code formatting here?