occt: master cda06ac0
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
kgv | bugmaster | master | 2017-09-28 18:29:22 | master 9026dea8 |
Affected Issues | 0029152: Coding Rules - eliminate GCC compiler warnings -Wmisleading-indentation when using MinGW | |||
Changeset | 0029152: Coding Rules - eliminate GCC compiler warnings -Wmisleading-indentation when using MinGW OSD_File::myFileHandle/myIO pair is now switched within class definition instead of myFileHandle_is_only_for_Windows/myFileChannel_is_only_for_Linux macros. OSD_Directory/OSD_Disk/OSD_File methods implementation of WinAPI/non-WinAPI has been merged within .cxx file and reformatted. Resolved several inconsistences on handling invalid input between WinAPI/non-WinAPI implementations. NCollection_Array1 is now used in several places instead of raw memory allocation (HeapAlloc()/HeapFree()/new/delete). TCollection_ExtendedString is used instead of StringCchCopyW. Unused field OSD_Disk::myQuotaSize and not implemented methods OSD_Disk::*Quota*() have been removed. Obsolete code fragment "for Visual Age compiler" is removed. Macro __try is undefined before redefinition on MinGW to avoid warning. |
|||
mod - src/OSD/OSD_Directory.cxx | Diff File | |||
mod - src/OSD/OSD_Directory.hxx | Diff File | |||
mod - src/OSD/OSD_Disk.cxx | Diff File | |||
mod - src/OSD/OSD_Disk.hxx | Diff File | |||
mod - src/OSD/OSD_File.cxx | Diff File | |||
mod - src/OSD/OSD_File.hxx | Diff File | |||
mod - src/OSD/OSD_FileNode.cxx | Diff File | |||
mod - src/OSD/OSD_signal.cxx | Diff File |