From: <sv...@ww...> - 2005-11-16 07:21:18
|
Author: stormbringer Date: 2005-11-15 23:21:11 -0800 (Tue, 15 Nov 2005) New Revision: 1675 Modified: trunk/CSP/SimData/Include/SimData/LogStream.h trunk/CSP/SimData/Include/SimData/Trace.h Log: Minor changes to make the code compile on Windows Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1675 Modified: trunk/CSP/SimData/Include/SimData/LogStream.h =================================================================== --- trunk/CSP/SimData/Include/SimData/LogStream.h 2005-11-15 08:42:19 UTC (rev 1674) +++ trunk/CSP/SimData/Include/SimData/LogStream.h 2005-11-16 07:21:11 UTC (rev 1675) @@ -177,7 +177,7 @@ * file name and line number to be automatically recorded in the log. * See the various SIMDATA_LOG macros for more information. */ -class LogStream::LogEntry { +class SIMDATA_EXPORT LogStream::LogEntry { public: /** Create a new log entry in the specified log stream. * Modified: trunk/CSP/SimData/Include/SimData/Trace.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Trace.h 2005-11-15 08:42:19 UTC (rev 1674) +++ trunk/CSP/SimData/Include/SimData/Trace.h 2005-11-16 07:21:11 UTC (rev 1675) @@ -81,22 +81,22 @@ SIMDATA_EXPORT class AutoTrace { public: // install sigv and abort handlers. - static bool install(); - static void setLog(LogStream &log); - static void inhibitAbortHandler() { _abort = false; } + static SIMDATA_EXPORT bool install(); + static SIMDATA_EXPORT void setLog(LogStream &log); + static SIMDATA_EXPORT void inhibitAbortHandler() { _abort = false; } private: // signal handlers. - static void __sigterm(int /*sig_n*/); - static void __sigsegv(int /*sig_n*/); - static void __sigabort(int /*sig_n*/); + static SIMDATA_EXPORT void __sigterm(int /*sig_n*/); + static SIMDATA_EXPORT void __sigsegv(int /*sig_n*/); + static SIMDATA_EXPORT void __sigabort(int /*sig_n*/); - static LogStream *log(); + static SIMDATA_EXPORT LogStream *log(); - static StackTrace _trace; - static LogStream *_log; - static char *_reserve; - static bool _abort; + static SIMDATA_EXPORT StackTrace _trace; + static SIMDATA_EXPORT LogStream *_log; + static SIMDATA_EXPORT char *_reserve; + static SIMDATA_EXPORT bool _abort; }; |