1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
kgv 7c65581dd3 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)
2016-03-04 07:31:05 +03:00

79 lines
2.1 KiB
Plaintext
Executable File

NCollection_AccAllocator.cxx
NCollection_AccAllocator.hxx
NCollection_AlignedAllocator.cxx
NCollection_AlignedAllocator.hxx
NCollection_Array1.hxx
NCollection_Array2.hxx
NCollection_BaseAllocator.cxx
NCollection_BaseAllocator.hxx
NCollection_BaseList.cxx
NCollection_BaseList.hxx
NCollection_BaseMap.cxx
NCollection_BaseMap.hxx
NCollection_BaseSequence.cxx
NCollection_BaseSequence.hxx
NCollection_BaseVector.cxx
NCollection_BaseVector.hxx
NCollection_Buffer.hxx
NCollection_CellFilter.hxx
NCollection_Comparator.hxx
NCollection_DataMap.hxx
NCollection_DefaultHasher.hxx
NCollection_DefineAlloc.hxx
NCollection_DefineArray1.hxx
NCollection_DefineArray2.hxx
NCollection_DefineDataMap.hxx
NCollection_DefineDoubleMap.hxx
NCollection_DefineHArray1.hxx
NCollection_DefineHArray2.hxx
NCollection_DefineHSequence.hxx
NCollection_DefineIndexedDataMap.hxx
NCollection_DefineIndexedMap.hxx
NCollection_DefineList.hxx
NCollection_DefineMap.hxx
NCollection_DefineSequence.hxx
NCollection_DefineVector.hxx
NCollection_DoubleMap.hxx
NCollection_EBTree.hxx
NCollection_Haft.h
NCollection_Handle.hxx
NCollection_HArray1.hxx
NCollection_HArray2.hxx
NCollection_HeapAllocator.cxx
NCollection_HeapAllocator.hxx
NCollection_HSequence.hxx
NCollection_IncAllocator.cxx
NCollection_IncAllocator.hxx
NCollection_IndexedDataMap.hxx
NCollection_IndexedMap.hxx
NCollection_List.hxx
NCollection_ListNode.hxx
NCollection_LocalArray.hxx
NCollection_Map.hxx
NCollection_Mat4.hxx
NCollection_QuickSort.hxx
NCollection_Sequence.hxx
NCollection_Shared.hxx
NCollection_SparseArray.hxx
NCollection_SparseArrayBase.cxx
NCollection_SparseArrayBase.hxx
NCollection_StdAllocator.hxx
NCollection_StlIterator.hxx
NCollection_String.hxx
NCollection_TListIterator.hxx
NCollection_TListNode.hxx
NCollection_TypeDef.hxx
NCollection_UBTree.hxx
NCollection_UBTreeFiller.hxx
NCollection_UtfIterator.hxx
NCollection_UtfIterator.lxx
NCollection_UtfString.hxx
NCollection_UtfString.lxx
NCollection_UtfString.cxx
NCollection_Vec2.hxx
NCollection_Vec3.hxx
NCollection_Vec4.hxx
NCollection_Vector.hxx
NCollection_WinHeapAllocator.cxx
NCollection_WinHeapAllocator.hxx