https://svn.lrde.epita.fr/svn/oln/trunk/olena
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
More sanity checks.
* tests/sanity/includes.test: Also check headers whose path
contains a directory named ``obsolete'' or ``internal''.
* oln/core/internal/dpoint_nd.hh (oln/core/traits_id.hh): Include
it.
* oln/core/internal/tracked_ptr.hh (ostream): Likewise.
oln/core/internal/dpoint_nd.hh | 1 +
oln/core/internal/tracked_ptr.hh | 1 +
tests/sanity/includes.test | 4 +---
3 files changed, 3 insertions(+), 3 deletions(-)
Index: tests/sanity/includes.test
--- tests/sanity/includes.test (revision 658)
+++ tests/sanity/includes.test (working copy)
@@ -11,9 +11,7 @@
rm -f failures
if test $# = 0; then
- find "$PATH_TO_OLN_SRCDIR/oln" -name "${1-*}.hh" \
- -a ! -path '*/obsolete/*' -type f \
- -a ! -path '*/internal/*' -type f -print |
+ find "$PATH_TO_OLN_SRCDIR/oln" -name "${1-*}.hh" -print | \
sed "s,$PATH_TO_OLN_SRCDIR/,,g"
else
echo "$@"
Index: oln/core/internal/dpoint_nd.hh
--- oln/core/internal/dpoint_nd.hh (revision 658)
+++ oln/core/internal/dpoint_nd.hh (working copy)
@@ -33,6 +33,7 @@
# include <xtd/vec.hh>
# include <stc/exact.hh>
# include <oln/core/abstract/dpoint.hh>
+# include <oln/core/traits_id.hh>
namespace oln
Index: oln/core/internal/tracked_ptr.hh
--- oln/core/internal/tracked_ptr.hh (revision 658)
+++ oln/core/internal/tracked_ptr.hh (working copy)
@@ -29,6 +29,7 @@
# define OLN_CORE_INTERNAL_TRACKED_PTR_HH
# include <set>
+# include <ostream>
namespace oln