summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-12 23:30:58 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-12 23:30:58 (GMT)
commitce484264de3ae08a5cca9b6c3f75d1a1f914b4a4 (patch)
tree5c686a8b3b6a065cc6b2a2bd58336e204af94b7b /Source/cmSystemTools.h
parent8c4795025fd28088507e5814e167bdfc9f0345f0 (diff)
downloadCMake-ce484264de3ae08a5cca9b6c3f75d1a1f914b4a4.zip
CMake-ce484264de3ae08a5cca9b6c3f75d1a1f914b4a4.tar.gz
CMake-ce484264de3ae08a5cca9b6c3f75d1a1f914b4a4.tar.bz2
ENH: Improved error handling when GetError is called on a command that has not called SetError.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index da94820..fbc8c68 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -94,7 +94,8 @@ public:
/**
* Display an error message.
*/
- static void Error(const char* m, const char* m2=0 );
+ static void Error(const char* m, const char* m2=0,
+ const char* m3=0, const char* m4=0);
///! Return true if there was an error at any point.
static bool GetErrorOccuredFlag()