occt: master 7c65581d
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
abv | master | 2016-02-27 23:07:27 | master 8582eb08 | |
Affected Issues | 0027197: Configuration - fix compilation issues when using mingw | |||
Changeset | 0027197: Configuration - fix compilation issues when using mingw AIS_ColorScale, AIS_Dimension - the protected method DrawText() has been renamed to drawText() to avoid name collisions with macros. _MSC_VER/_WIN32 misuse has been fixed in several places. Header <malloc.h> is now included where alloca() is used. Draw_Window - dllimport flag has been dropped from inline methods. TKernel - mandatory dependencies Winspool.lib and Psapi.lib are now linked explicitly (instead of msvc-specific pragma syntax). CMake scripts - the option -std=c++0x has been replaced by -std=gnu++0x for mingw to allow extensions (like _wfopen() and others). The minimum Windows version has been set to _WIN32_WINNT=0x0501. Invalid options "-z defs" and "-lm" have been dropped for mingw. Flag --export-all-symbols has been added to CMAKE_SHARED_LINKER_FLAGS to workaround missing vtable symbols when using mingw. FreeType is now linked explicitly on Windows. Draw::Load() - "lib" suffix is now prepended on mingw as well. Drop redundant declaration of _TINT from OSD_WNT_1.hxx. NCollection_UtfString::FromLocale() - platform-specific code has been moved to .cxx file. Draw_BasicCommands - fixed incorrect mingw64 version macros. genproj, cbp - added workaround for process argument list limits on Windows. TKSTEP linkage is failing on this platform due to too long list of files. The list of object files to link is now stored in dedicated file which is passed to gcc. Option "-z defs" removed from CMake linker options to avoid problems when building with different configurations of VTK on Linux Some MinGW-specific compiler warnings (potentially uninitialized vars, use of NULL, parentheses in conditional expressions) are fixed (speculatively) |
|||
mod - adm/cmake/occt_csf.cmake | Diff File | |||
mod - adm/cmake/occt_defs_flags.cmake | Diff File | |||
mod - adm/genproj.tcl | Diff File | |||
add - adm/templates/codeblocks.bat | Diff File | |||
mod - adm/templates/env.bat | Diff File | |||
mod - src/AIS/AIS_AngleDimension.cxx | Diff File | |||
mod - src/AIS/AIS_ColorScale.cxx | Diff File | |||
mod - src/AIS/AIS_ColorScale.hxx | Diff File | |||
mod - src/AIS/AIS_Dimension.cxx | Diff File | |||
mod - src/AIS/AIS_Dimension.hxx | Diff File | |||
mod - src/BRepAlgo/BRepAlgo_DSAccess.cxx | Diff File | |||
mod - src/BSplCLib/BSplCLib.cxx | Diff File | |||
mod - src/CDF/CDF_FWOSDriver.cxx | Diff File | |||
mod - src/Dico/Dico_Dictionary.gxx | Diff File | |||
mod - src/Draw/CommandWindow.cxx | Diff File | |||
mod - src/Draw/Draw.cxx | Diff File | |||
mod - src/Draw/DrawRessource.h | Diff File | |||
mod - src/Draw/Draw_BasicCommands.cxx | Diff File | |||
mod - src/Draw/Draw_Interpretor.cxx | Diff File | |||
mod - src/Draw/Draw_Main.cxx | Diff File | |||
mod - src/Draw/Draw_Window.cxx | Diff File | |||
mod - src/Draw/Draw_Window.hxx | Diff File | |||
mod - src/DrawTrSurf/DrawTrSurf.cxx | Diff File | |||
mod - src/DrawTrSurf/DrawTrSurf_Point.cxx | Diff File | |||
mod - src/FSD/FSD_File.cxx | Diff File | |||
mod - src/HLRBRep/HLRBRep_PolyAlgo.cxx | Diff File | |||
mod - src/IntAna/IntAna_Curve.cxx | Diff File | |||
mod - src/MeshVS/MeshVS_MeshPrsBuilder.cxx | Diff File | |||
mod - src/Message/Message_PrinterOStream.cxx | Diff File | |||
mod - src/MoniTool/MoniTool_TypedValue.cxx | Diff File | |||
mod - src/NCollection/FILES | Diff File | |||
add - src/NCollection/NCollection_UtfString.cxx | Diff File | |||
mod - src/NCollection/NCollection_UtfString.lxx | Diff File | |||
mod - src/NCollection/NCollection_WinHeapAllocator.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_Context.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_ShaderObject.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_ShaderProgram.cxx | Diff File | |||
mod - src/OSD/OSD_DirectoryIterator.cxx | Diff File | |||
mod - src/OSD/OSD_File.cxx | Diff File | |||
mod - src/OSD/OSD_File.hxx | Diff File | |||
mod - src/OSD/OSD_FileIterator.cxx | Diff File | |||
mod - src/OSD/OSD_Host.cxx | Diff File | |||
mod - src/OSD/OSD_MemInfo.cxx | Diff File | |||
mod - src/OSD/OSD_OpenFile.cxx | Diff File | |||
mod - src/OSD/OSD_Path.cxx | Diff File | |||
mod - src/OSD/OSD_Process.cxx | Diff File | |||
mod - src/OSD/OSD_signal_WNT.cxx | Diff File | |||
mod - src/OSD/OSD_WNT_1.hxx | Diff File | |||
mod - src/PCDM/PCDM_ReferenceIterator.cxx | Diff File | |||
mod - src/QABugs/QABugs_11.cxx | Diff File | |||
mod - src/Standard/Standard.cxx | Diff File | |||
mod - src/Standard/Standard_Assert.hxx | Diff File | |||
mod - src/Standard/Standard_CLocaleSentry.cxx | Diff File | |||
mod - src/Standard/Standard_CLocaleSentry.hxx | Diff File | |||
mod - src/Standard/Standard_CString.cxx | Diff File | |||
mod - src/Standard/Standard_values.h | Diff File | |||
mod - src/TCollection/TCollection_AsciiString.cxx | Diff File | |||
mod - src/TCollection/TCollection_ExtendedString.cxx | Diff File | |||
mod - src/TKD3DHost/EXTERNLIB | Diff File | |||
mod - src/TKernel/EXTERNLIB | Diff File | |||
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_GIter.cxx | Diff File | |||
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_GTopo.cxx | Diff File | |||
mod - src/TopOpeBRepDS/TopOpeBRepDS_EXPORT.cxx | Diff File | |||
mod - src/V3d/V3d_View_Print.cxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx | Diff File | |||
mod - src/WNT/WNT_WClass.cxx | Diff File | |||
mod - src/WNT/WNT_Window.cxx | Diff File | |||
mod - src/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx | Diff File |