]> git.puffer.fish Git - mirror/frr.git/commit
tests: add C++ header compatibility smoke test 3622/head
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 11 Feb 2019 12:22:49 +0000 (13:22 +0100)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 12 Feb 2019 00:34:12 +0000 (22:34 -0200)
commit8ed561e1f13d0afb019a7963238bdd43ad017bec
tree6eb6ab8174ada8d4abadb6127665e1c88a90fbbb
parent7f04943d6b860f5e74a8fc652a106c3a2046a0ce
tests: add C++ header compatibility smoke test

Compiling an empty C file with most headers included and -Wc++-compat
gives us a build error if we introduce some stupid C++-incompatible
change.

While this won't catch everything, it's a good start.

Signed-off-by: David Lamparter <equinox@diac24.net>
configure.ac
tests/.gitignore
tests/lib/cxxcompat.c [new file with mode: 0644]
tests/subdir.am