[SCM] Ganeti core branch master updated. v2.6.1-595-g39f0eea

2 views
Skip to first unread message

ganeti-vcs

unread,
Nov 13, 2012, 8:42:49 AM11/13/12
to ganeti-...@googlegroups.com
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Ganeti core".

The branch, master has been updated
via 39f0eea533056c8a26da089a774a27b13097e489 (commit)
from 43b3b5c1fc184224fffc34f124f190794d8599ea (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 39f0eea533056c8a26da089a774a27b13097e489
Author: Iustin Pop <ius...@google.com>
Date: Tue Nov 13 11:46:04 2012 +0100

Automatically enable version-dependent GHC flags

Some GHC flags are very useful, but only appear in more recent GHC
versions. To support the use of such flags while still supporting
older compilers, let's add conditional checks and enabling based on
the results.

Currently only `-fwarn-incomplete-uni-patterns` is enabled, which
detects refutable patterns in lambda expressions and pattern bindings
(e.g. "let (Just x) = y"); such constructs are bad as they can lead to
runtime exceptions.

Additionally, fix an existing such bad construct in a test case; we
workaround it by using error, since that should never fail.

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: Guido Trotter <ultr...@google.com>

-----------------------------------------------------------------------

Summary of changes:
Makefile.am | 7 ++++++-
configure.ac | 11 +++++++++++
htest/Test/Ganeti/HTools/Cluster.hs | 6 +++++-
3 files changed, 22 insertions(+), 2 deletions(-)


hooks/post-receive
--
Ganeti core
Reply all
Reply to author
Forward
0 new messages