[PPL-devel] [GIT] ppl/ppl(floating_point): Avoid a cyclic dependency problem ( make check still doesn't work).
Fabio Bossi
bossi at cs.unipr.it
Fri Jul 23 11:16:49 CEST 2010
Module: ppl/ppl
Branch: floating_point
Commit: 0db84c97d57aa3eb8324d5b9113ca8393efa65f3
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=0db84c97d57aa3eb8324d5b9113ca8393efa65f3
Author: Fabio Bossi <bossi at cs.unipr.it>
Date: Fri Jul 23 11:15:56 2010 +0200
Avoid a cyclic dependency problem (make check still doesn't work).
---
src/Linear_Form.defs.hh | 2 +-
src/Linear_Form.templates.hh | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/Linear_Form.defs.hh b/src/Linear_Form.defs.hh
index f7ed492..ccb4e0f 100644
--- a/src/Linear_Form.defs.hh
+++ b/src/Linear_Form.defs.hh
@@ -428,6 +428,6 @@ private:
};
#include "Linear_Form.inlines.hh"
-#include "Linear_Form.templates.hh"
+// Linear_Form.templates.hh is not included here on purpose.
#endif // !defined(PPL_Linear_Form_defs_hh)
diff --git a/src/Linear_Form.templates.hh b/src/Linear_Form.templates.hh
index f676626..e508759 100644
--- a/src/Linear_Form.templates.hh
+++ b/src/Linear_Form.templates.hh
@@ -23,6 +23,7 @@ site: http://www.cs.unipr.it/ppl/ . */
#ifndef PPL_Linear_Form_templates_hh
#define PPL_Linear_Form_templates_hh 1
+#include "Linear_Form.defs.hh"
#include "Linear_Expression.defs.hh"
#include "Box.defs.hh"
#include <stdexcept>
More information about the PPL-devel
mailing list