]> OCCT Git - occt-copy.git/commit
0028824: Possibility to build OCCT 7.1.0 and above using Visual Studio 2008
authoroan <oan@opencascade.com>
Thu, 14 Sep 2017 08:39:36 +0000 (11:39 +0300)
committerkgv <kgv@opencascade.com>
Mon, 4 Dec 2017 18:04:18 +0000 (21:04 +0300)
commit25a8945a37ff37fdd67593c3535cd0f4fa3fce7c
tree6dc9e2f342be93037a24eb34f679d752d2864747
parent8d2144ab67879cce064191d9f86874a1a4610b61
0028824: Possibility to build OCCT 7.1.0 and above using Visual Studio 2008

Possibility to build OCCT using Visual Studio 2008 (VC9) is restored.
For that:

- template functions and classes from namespace std or tr1 (for VC9) are imported to namespace opencascade which is then used instead of std in relevant places
- templates not provided by compiler (VC9) but required for OCCT are defined in this namespace (in Standard_Handle.hxx)
- methods implementing move semantics are excluded for VC9 compiler (which does not support && syntax)
- support of vc9 compiler is restored in build procedures and environment scripts
- check of type of the current class in macros DEFINE_STANDARD_RTTI* is refactored

VS 2008 is restored in the list of supported platforms on Overview / System Requirements.
23 files changed:
adm/templates/env.bat
adm/templates/env.bat.in
adm/templates/template.vc9
dox/overview/overview.md
src/BVH/BVH_BinaryTree.hxx
src/BVH/BVH_Types.hxx
src/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.cxx
src/BinLDrivers/BinLDrivers_DocumentSection.cxx
src/DrawTrSurf/DrawTrSurf.hxx
src/IGESData/IGESData_IGESWriter.hxx
src/NCollection/NCollection_Array1.hxx
src/NCollection/NCollection_DefineHSequence.hxx
src/NCollection/NCollection_Shared.hxx
src/NCollection/NCollection_StlIterator.hxx
src/NCollection/NCollection_UBTreeFiller.hxx
src/OpenGl/OpenGl_Context.cxx
src/Poly/Poly_Connect.cxx
src/QANCollection/QANCollection_Handle.cxx
src/RWStl/RWStl_Reader.cxx
src/Standard/Standard_ArrayStreamBuffer.hxx
src/Standard/Standard_Handle.hxx
src/Standard/Standard_Type.hxx
src/Standard/Standard_TypeDef.hxx