common: add macros to silence invalid offsetof warnings
[lttng-tools.git] / src / common / format.hpp
CommitLineData
05aa7e19
JG
1/*
2 * Copyright (C) 2022 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7#ifndef LTTNG_FORMAT_H
8#define LTTNG_FORMAT_H
9
10#include <common/macros.hpp>
11
12DIAGNOSTIC_PUSH
13DIAGNOSTIC_IGNORE_SUGGEST_ATTRIBUTE_FORMAT
14DIAGNOSTIC_IGNORE_DUPLICATED_BRANCHES
15#define FMT_HEADER_ONLY
16#include <vendor/fmt/core.h>
17DIAGNOSTIC_POP
18
19#endif /* LTTNG_FORMAT_H */
This page took 0.023192 seconds and 4 git commands to generate.