diff options
author | Brad King <brad.king@kitware.com> | 2001-03-12 23:30:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-03-12 23:30:58 (GMT) |
commit | ce484264de3ae08a5cca9b6c3f75d1a1f914b4a4 (patch) | |
tree | 5c686a8b3b6a065cc6b2a2bd58336e204af94b7b /Source/cmSystemTools.h | |
parent | 8c4795025fd28088507e5814e167bdfc9f0345f0 (diff) | |
download | CMake-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.h | 3 |
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() |