install back the safety check of includes.test

Compilation of each header file alone, as a safety check, was removed
when introducing "#pragma once" because we did not have to check for
possible double inclusion.  However we still need to compile each
header to make sure they are self-contained.

* tests/sanity/includes.test: Compile each header.
* tests/run.in: Export various compiler and directory flags.
* spot/twaalgos/emptiness_stats.hh, spot/misc/mspool.hh,
spot/misc/fixpool.hh: Include <spot/misc/common.hh>.
* spot/misc/common.hh: Include <cassert>.
* NEWS: Mention the fixed headers.
This commit is contained in:
Alexandre Duret-Lutz 2016-12-02 13:39:04 +01:00
parent 3d726fccb2
commit 0ab8dc06c4
7 changed files with 34 additions and 12 deletions

4
NEWS
View file

@ -24,6 +24,10 @@ New in spot 2.2.1.dev (Not yet released)
everything that was not Inf was Fin. These errors are now
diagnosed.
* Some of the installed headers (spot/misc/fixpool.hh,
spot/misc/mspool.hh, spot/twaalgos/emptiness_stats.hh) were not
self-contained.
New in spot 2.2.1 (2016-11-21)
Bug fix: