* apps/constrained-connectivity/Makefile.am
(constrained_connectivity_CXXFLAGS): New.
Append $(STRICT_ALIASING_CXXFLAGS).
---
milena/ChangeLog | 8 ++++++++
milena/apps/constrained-connectivity/Makefile.am | 1 +
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 3823664..8014d4b 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,11 @@
+2011-09-13 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Prevent g++ 4.2 from issuing bad code for constrained-connectivity.
+
+ * apps/constrained-connectivity/Makefile.am
+ (constrained_connectivity_CXXFLAGS): New.
+ Append $(STRICT_ALIASING_CXXFLAGS).
+
2011-09-12 Roland Levillain <roland(a)lrde.epita.fr>
Fix the return type of mln::Function<E>::operator=.
diff --git a/milena/apps/constrained-connectivity/Makefile.am
b/milena/apps/constrained-connectivity/Makefile.am
index 84a6ed2..c0dfb0d 100644
--- a/milena/apps/constrained-connectivity/Makefile.am
+++ b/milena/apps/constrained-connectivity/Makefile.am
@@ -22,6 +22,7 @@ AM_CXXFLAGS = $(APPS_CXXFLAGS)
noinst_PROGRAMS = constrained-connectivity
constrained_connectivity_SOURCES = constrained-connectivity.cc
+constrained_connectivity_CXXFLAGS = $(AM_CXXFLAGS) $(STRICT_ALIASING_CXXFLAGS)
TESTS = test-constrained-connectivity
--
1.7.2.5