Tests: test_session: include tap.h last
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 6 Jun 2022 16:07:15 +0000 (12:07 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 13 Jun 2022 20:34:46 +0000 (16:34 -0400)
commita034592c3c9599ee329525a75a5c9956e26f7f20
tree2f41ad238838b5da51c51e4026f76fc91bc4509c
parenta9cfc0f36bf8ade64df08392b03a9f15409dc01b
Tests: test_session: include tap.h last

tap.h defines a number of macros that are very likely to clash with
other headers (e.g. ok, fail, etc.). On gcc 7.5.0, builds fail whenever
tap.h is included before an header that transitively includes
basic_ios.h.

This clash doesn't occur with more recent gcc releases (tested with 11.2
on my local machine).

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I62aaa14a6d1f20c77073ab2e481eddcb28fb78f3
tests/unit/test_session.cpp
This page took 0.024752 seconds and 4 git commands to generate.