Change constexpr function pointers to static constants

Note: Newer version of gcc no longer supports constexpr
function pointers to be declared in the header file.
Therefore we fixed this by declaring them as static
constants in the header file and moved the initialization
to the source file.

Change-Id: Ied87c62b14be79cc268cfe8c63e8f2385c7e75b6
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
2 files changed
tree: 1f573c5f3af280063876302831cee4cd590a6b7f
  1. test/
  2. .gitignore
  3. argument.cpp
  4. argument.hpp
  5. bootstrap.sh
  6. configure.ac
  7. env.cpp
  8. env.hpp
  9. hwmon.hpp
  10. interface.hpp
  11. LICENSE
  12. mainloop.cpp
  13. mainloop.hpp
  14. Makefile.am
  15. readd.cpp
  16. README.md
  17. sensorset.cpp
  18. sensorset.hpp
  19. sysfs.cpp
  20. sysfs.hpp
  21. thresholds.hpp
  22. util.hpp
README.md

Exposes generic hwmon entries as DBus objects.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.