Use compiler-agnostic defines to silence warning master
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 9 Sep 2024 15:53:28 +0000 (11:53 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 9 Sep 2024 15:55:01 +0000 (11:55 -0400)
commitfdf647bb757759bc13da7cc38260f19984d04801
tree76ab32aef1f9cad08c96629538be6af3ac79e672
parent07bcbcf39e1a8dc2b4098a8480d0310cc67d78ac
Use compiler-agnostic defines to silence warning

g++ emits warnings that it can't recognize the clang-specific diagnostic
pragmas. They are replaced by the internal compiler-specific macros so
that nothing is emitted when g++ is used.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I543987a861d2322aa2ef3b7d631f280d2ac999bf
src/common/macros.hpp
src/common/reference.hpp
This page took 0.025311 seconds and 4 git commands to generate.