From: <sv...@ww...> - 2005-02-16 22:59:17
|
Author: delta Date: 2005-02-16 14:59:10 -0800 (Wed, 16 Feb 2005) New Revision: 1474 Modified: trunk/CSP/SimData/CHANGES.current trunk/CSP/SimData/Include/SimData/Enum.h trunk/CSP/SimData/Include/SimData/Ref.h trunk/CSP/SimData/Include/SimData/ScopedPointer.h trunk/CSP/SimData/VisualStudio2003/SimData.vcproj Log: * For some reasons, vs 2005 needs some template(!) classes to be exported whereas vs 2003 doesn't allow it... Back to a version which compiles with 2003. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1474 Modified: trunk/CSP/SimData/CHANGES.current =================================================================== --- trunk/CSP/SimData/CHANGES.current 2005-02-16 14:09:51 UTC (rev 1473) +++ trunk/CSP/SimData/CHANGES.current 2005-02-16 22:59:10 UTC (rev 1474) @@ -1,6 +1,11 @@ Version 0.4.0 (in progress) =========================== +2005-02-16: delta + * For some reasons, vs 2005 needs some template(!) classes to be + exported whereas vs 2003 doesn't allow it... Back to a version + which compiles with 2003. + 2005-02-14:delta * Exported more symbols to help compilation with vs 2005. Modified: trunk/CSP/SimData/Include/SimData/Enum.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Enum.h 2005-02-16 14:09:51 UTC (rev 1473) +++ trunk/CSP/SimData/Include/SimData/Enum.h 2005-02-16 22:59:10 UTC (rev 1474) @@ -624,7 +624,7 @@ * @ingroup BaseTypes */ template <Enumeration const &E> -class SIMDATA_EXPORT Enum: public EnumLink { +class Enum: public EnumLink { public: Enum(std::string const &token): EnumLink(E, token) {} Enum(): EnumLink(E) {} Modified: trunk/CSP/SimData/Include/SimData/Ref.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Ref.h 2005-02-16 14:09:51 UTC (rev 1473) +++ trunk/CSP/SimData/Include/SimData/Ref.h 2005-02-16 22:59:10 UTC (rev 1474) @@ -116,7 +116,7 @@ * @author Mark Rose <mr...@st...> */ template<class CLASS> -class SIMDATA_EXPORT Ref { +class Ref { public: typedef std::vector< Ref<CLASS> > vector; typedef std::list< Ref<CLASS> > list; @@ -306,7 +306,6 @@ } protected: - /** Unbind from the instance, deleting it if we are holding the only reference. */ inline void _unbind() { @@ -315,7 +314,6 @@ _reference = 0; } } - /** Rebind to a new object. Allows rebinding to base class pointers * using dynamic_cast. For assignments from the same class or child * classes this reduces to a simple (fast) static_cast. Modified: trunk/CSP/SimData/Include/SimData/ScopedPointer.h =================================================================== --- trunk/CSP/SimData/Include/SimData/ScopedPointer.h 2005-02-16 14:09:51 UTC (rev 1473) +++ trunk/CSP/SimData/Include/SimData/ScopedPointer.h 2005-02-16 22:59:10 UTC (rev 1474) @@ -44,7 +44,7 @@ * was borrowed from Boost C++. */ template <class T> -class SIMDATA_EXPORT ScopedPointer: public NonCopyable { +class ScopedPointer: public NonCopyable { T *_ptr; public: typedef T Type; Modified: trunk/CSP/SimData/VisualStudio2003/SimData.vcproj =================================================================== --- trunk/CSP/SimData/VisualStudio2003/SimData.vcproj 2005-02-16 14:09:51 UTC (rev 1473) +++ trunk/CSP/SimData/VisualStudio2003/SimData.vcproj 2005-02-16 22:59:10 UTC (rev 1474) @@ -123,7 +123,7 @@ SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="2" - DisableSpecificWarnings="4511;4512;4100"/> + DisableSpecificWarnings="4511;4512"/> <Tool Name="VCCustomBuildTool"/> <Tool @@ -184,13 +184,13 @@ Name="Release|Win32"> <Tool Name="VCCLCompilerTool" - WarningLevel="3"/> + WarningLevel="2"/> </FileConfiguration> <FileConfiguration Name="Debug|Win32"> <Tool Name="VCCLCompilerTool" - WarningLevel="3" + WarningLevel="2" UndefinePreprocessorDefinitions="_DEBUG"/> </FileConfiguration> </File> |