[PPL-devel] [GIT] ppl/ppl(master): Make sure the latest changes to NDEBUG effective.

Roberto Bagnara bagnara at cs.unipr.it
Fri Sep 18 20:25:14 CEST 2009


Module: ppl/ppl
Branch: master
Commit: 0e677160d160688227ea68c318b0872d629f6b8a
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=0e677160d160688227ea68c318b0872d629f6b8a

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Fri Sep 18 20:24:35 2009 +0200

Make sure the latest changes to NDEBUG effective.

---

 src/ppl_header.hh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/ppl_header.hh b/src/ppl_header.hh
index 28392f0..2f5a655 100644
--- a/src/ppl_header.hh
+++ b/src/ppl_header.hh
@@ -104,6 +104,9 @@ site: http://www.cs.unipr.it/ppl/ . */
 #  undef NDEBUG
 # endif
 #endif
+// Must include <cassert> again in order to make the latest changes to
+// NDEBUG effective.
+#include <cassert>
 #include "assert.hh"
 
 #ifdef PPL_NO_AUTOMATIC_INITIALIZATION




More information about the PPL-devel mailing list