From: Timo Heister Date: Wed, 20 Feb 2013 00:57:20 +0000 (+0000) Subject: fix __PRETTY_FUNCTION__ for compilers that do not understand it X-Git-Tag: v8.0.0~1079^2~134 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58068957c69ec5efab7e25382fb89ee7f84a0a7b;p=dealii.git fix __PRETTY_FUNCTION__ for compilers that do not understand it git-svn-id: https://svn.dealii.org/branches/branch_cmake@28486 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/checks/check_01_compiler_features.cmake b/deal.II/cmake/checks/check_01_compiler_features.cmake index 3a4bb1c639..1791b0df41 100644 --- a/deal.II/cmake/checks/check_01_compiler_features.cmake +++ b/deal.II/cmake/checks/check_01_compiler_features.cmake @@ -250,9 +250,9 @@ IF(NOT DEAL_II_COMPILER_HAS_ATTRIBUTE_PRETTY_FUNCTION) DEAL_II_COMPILER_HAS_ATTRIBUTE_FUNC) IF(DEAL_II_COMPILER_HAS_ATTRIBUTE_FUNC) - SET(__PRETTY_FUNCTION__ "__func") + SET(__PRETTY_FUNCTION__ "__func__") ELSE() - SET(__PRETTY_FUNCTION__ "(not available)") + SET(__PRETTY_FUNCTION__ "\"(not available)\"") ENDIF() ENDIF()