From 3693d3a180433c7cc9dbc7bbd5444043f1259457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org> Date: Fri, 21 Mar 2014 16:48:23 +0100 Subject: [PATCH] Remove superfluous semicolons in checks. They cased compiler warnings. --- cmake/modules/CheckCXX11Features.cmake | 4 ++-- m4/dune_deprecated.m4 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/modules/CheckCXX11Features.cmake b/cmake/modules/CheckCXX11Features.cmake index 7aa05e646..7a564304c 100644 --- a/cmake/modules/CheckCXX11Features.cmake +++ b/cmake/modules/CheckCXX11Features.cmake @@ -157,7 +157,7 @@ check_cxx_source_compiles(" void foo() DEP; - void foo() {}; + void foo() {} int main(void) { @@ -189,7 +189,7 @@ check_cxx_source_compiles(" void foo() DEP; - void foo() {}; + void foo() {} int main(void) { diff --git a/m4/dune_deprecated.m4 b/m4/dune_deprecated.m4 index 49d0edab7..ff1961672 100644 --- a/m4/dune_deprecated.m4 +++ b/m4/dune_deprecated.m4 @@ -14,7 +14,7 @@ AC_DEFUN([DUNE_CHECKDEPRECATED],[ template <class T> class t_peng { t_peng() {}; } DEP; void foo() DEP; - void foo() {}; + void foo() {} ]], [])], dune_cv_attribute_deprecated="yes", @@ -34,7 +34,7 @@ AC_DEFUN([DUNE_CHECKDEPRECATED],[ template <class T> class t_peng { t_peng() {}; } DEP; void foo() DEP; - void foo() {}; + void foo() {} ]], [])], dune_cv_attribute_deprecated_message="yes", -- GitLab