fix GCC 13 issues

The latest version of GCC raises two issues:

    - cstdint is not included automatically as often so we need to
      explicitly include it whenever using `uint*` class types.

    - Certain move operations are detected as unnecessary and subverting
      RVO.

Fix both of these issues.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4124c91c8e5cce3b85a6284d3cc8dfc2a8494a76
2 files changed
tree: f3cf6ec73556c318afe3d9a110073e0c223a8038
  1. org/
  2. power-sequencer/
  3. power-supply/
  4. test/
  5. .clang-format
  6. .gitignore
  7. argument.hpp
  8. device.hpp
  9. device_monitor.hpp
  10. elog-errors.hpp
  11. file.hpp
  12. gpio.cpp
  13. gpio.hpp
  14. LICENSE
  15. meson.build
  16. meson_options.txt
  17. names_values.hpp
  18. OWNERS
  19. pmbus.cpp
  20. pmbus.hpp
  21. README.md
  22. utility.cpp
  23. utility.hpp
README.md

witherspoon-pfault-analysis

Code for detecting and analyzing power faults on Witherspoon.

To Build

To build this package, do the following steps:

  1. meson setup build
  2. ninja -C build

To clean the repository again run rm -rf build.