diff options
author | smatz <smatz@openttd.org> | 2010-01-18 10:11:27 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-01-18 10:11:27 +0000 |
commit | 9fc910fbc2ec3c6739f0d22007d26f6d1bc27a13 (patch) | |
tree | 86b7bf7ded4363a005620d1157f864a42f55ff25 /src/crashlog.h | |
parent | 23a8d2239f22940553ff02bb652cb19a6a0feb64 (diff) | |
download | openttd-9fc910fbc2ec3c6739f0d22007d26f6d1bc27a13.tar.xz |
(svn r18855) -Codechange: record compiler name and version in the crash log
Diffstat (limited to 'src/crashlog.h')
-rw-r--r-- | src/crashlog.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/crashlog.h b/src/crashlog.h index 5bc48dd3b..80ccc12ec 100644 --- a/src/crashlog.h +++ b/src/crashlog.h @@ -41,6 +41,14 @@ protected: virtual char *LogOSVersion(char *buffer, const char *last) const = 0; /** + * Writes compiler (and its version, if available) to the buffer. + * @param buffer The begin where to write at. + * @param last The last position in the buffer to write to. + * @return the position of the \c '\0' character after the buffer. + */ + virtual char *LogCompiler(char *buffer, const char *last) const; + + /** * Writes actually encountered error to the buffer. * @param buffer The begin where to write at. * @param last The last position in the buffer to write to. |