Commit 42fc2b77 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/ltlvisit/apcollect.hh: Fix include guard. Report from Denis.

* src/sanity/includes.test: Include files twice to check include
guards.
parent 11762dea
2004-08-10 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/ltlvisit/apcollect.hh: Fix include guard. Report from Denis.
* src/sanity/includes.test: Include files twice to check include
guards.
* src/tgbatest/ltl2tgba.cc (main): Fix another gcc warning in case
assert() is disabled.
......
......@@ -20,7 +20,7 @@
// 02111-1307, USA.
#ifndef SPOT_LTLVISIT_APCOLLECT_HH
# define SPOT_LTLVISIT_AP_COLLECT_HH
# define SPOT_LTLVISIT_APCOLLECT_HH
#include <set>
#include "ltlvisit/postfix.hh"
......
......@@ -8,7 +8,11 @@ rm -f failures
for file in `find "$INCDIR" -name "${1-*}.hh" -type f -print |
sed "s,$INCDIR/,,g"`; do
echo "#include <$file>" > incltest.cc
cat >incltest.cc <<EOF
// Include the file twice, so we detect missing inclusion guards.
#include <$file>
#include <$file>
EOF
if $CXX $CPPFLAGS $CXXFLAGS -c incltest.cc; then
echo "PASS: $file"
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment