Skip to content
Browse files

Disabled use of __FUNCTION__ for now

  • Loading branch information...
1 parent abf2716 commit 02006d85d7d84fc9cdc83ade28d289db58966a04 @philsquared committed Jul 5, 2012
Showing with 9 additions and 9 deletions.
  1. +4 −4 include/internal/catch_common.h
  2. +5 −5 single_include/catch.hpp
View
8 include/internal/catch_common.h
@@ -120,11 +120,11 @@ namespace Catch {
#define CATCH_INTERNAL_ERROR( msg ) throwLogicError( msg, __FILE__, __LINE__ );
-#ifdef __FUNCTION__
-#define CATCH_INTERNAL_LINEINFO ::Catch::SourceLineInfo( __FUNCTION__, __FILE__, __LINE__ )
-#else
+//#ifdef __FUNCTION__
+//#define CATCH_INTERNAL_LINEINFO ::Catch::SourceLineInfo( __FUNCTION__, __FILE__, __LINE__ )
+//#else
#define CATCH_INTERNAL_LINEINFO ::Catch::SourceLineInfo( __FILE__, __LINE__ )
-#endif
+//#endif
#endif // TWOBLUECUBES_CATCH_COMMON_H_INCLUDED
View
10 single_include/catch.hpp
@@ -1,5 +1,5 @@
/*
- * Generated: 2012-07-05 18:37:02.079024
+ * Generated: 2012-07-05 18:47:13.729198
* ----------------------------------------------------------
* This file has been merged from multiple headers. Please don't edit it directly
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
@@ -128,11 +128,11 @@ namespace Catch {
#define CATCH_INTERNAL_ERROR( msg ) throwLogicError( msg, __FILE__, __LINE__ );
-#ifdef __FUNCTION__
-#define CATCH_INTERNAL_LINEINFO ::Catch::SourceLineInfo( __FUNCTION__, __FILE__, __LINE__ )
-#else
+//#ifdef __FUNCTION__
+//#define CATCH_INTERNAL_LINEINFO ::Catch::SourceLineInfo( __FUNCTION__, __FILE__, __LINE__ )
+//#else
#define CATCH_INTERNAL_LINEINFO ::Catch::SourceLineInfo( __FILE__, __LINE__ )
-#endif
+//#endif
// #included from: catch_totals.hpp

0 comments on commit 02006d8

Please sign in to comment.
Something went wrong with that request. Please try again.