From: heister Date: Wed, 20 Feb 2013 00:57:20 +0000 (+0000) Subject: fix __PRETTY_FUNCTION__ for compilers that do not understand it X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b45f105466f37cf91bd6273f8c6a1d2c568c284a;p=dealii-svn.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()