build: enable and fix -Wconversion,-Wsign-conversion

Fix instances of cppcoreguidelines-narrowing-conversions, and enable the
warnings to catch future cases.  Tested by building and running the unit
tests.

Change-Id: I4047acd87a5ac6050ed7650e1efd32a921574041
Signed-off-by: Brad Bishop <bradbish@qti.qualcomm.com>
2 files changed
tree: 65c782ac8b66edf64e289922e72e6a911bbbda03
  1. fail-monitor/
  2. libmapper/
  3. src/
  4. subprojects/
  5. .clang-format
  6. .gitignore
  7. LICENSE
  8. meson.build
  9. meson.options
  10. OWNERS
  11. README.md
README.md

The Mapper

This repository contains the mapper, which assists in finding things on D-Bus. There is documentation about it in the docs repository.

Prerequisites

Non-OpenBMC build dependencies are:

  • meson/ninja
  • boost
  • libsystemd
  • systemd
  • tinyxml2

Build

meson build && ninja -C build

Run Unit Tests

meson build && ninja -C build test

Clean the repository

rm -rf build