MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029081Community[OCCT] OCCT:Application Frameworkpublic2017-09-04 17:302017-09-13 16:57
ReporterBenjaminBihler 
Assigned Toabv 
PrioritynormalSeverityminor 
StatusresolvedResolutionopen 
PlatformMinGW-w64OSWindowsOS Version7
Product Version[OCCT] 7.2.0 
Target Version[OCCT] 7.3.0*Fixed in Version 
Summary0029081: With Mingw-w64 Unicode Paths Do Not Work
DescriptionMingw-w64 does not provide the non-standard Microsoft extension to open ifstreams and ofstreams using wchar_t* file names.

To be able to open the respective streams without the Microsoft extension one would have to subclass std::ifstream and std::ofstream and add an open method to the child classes that accepts wchar_t* file names.

This is exactly what has been done by the boost Filesystem library. If boost was added as an (optional) dependency to Open CASCADE, unicode paths would work also with Mingw-w64.
Steps To ReproduceNot required
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0027585verifiedapn It is not possible to store OCAF documents to paths with special characters in their names 

-  Notes
(0070263)
git (administrator)
2017-09-06 11:20

Branch CR29081 has been created by Zia ul Azam.

SHA-1: 989ba7aa828920acf73cabc4981193d2037bbcbf


Detailed log of new commits:

Author: Zia ul Azam
Date: Wed Sep 6 10:19:37 2017 +0200

    0029081: With Mingw-w64 Unicode Paths Do Not Work
    
    Boost file streams are used on Windows if boost is present to enable
    handling unicode paths also with Mingw-w64.

Author: Zia ul Azam
Date: Wed Sep 6 10:14:53 2017 +0200

    0029081: With Mingw-w64 Unicode Paths Do Not Work
    
    Added boost as an optional external library.
(0070281)
git (administrator)
2017-09-06 17:10

Branch CR29081 has been updated by Zia ul Azam.

SHA-1: 0e2fade9099d4302f1208b4d7fa2d3ab888da539


Detailed log of new commits:

Author: Zia ul Azam
Date: Wed Sep 6 16:09:32 2017 +0200

    0029081: With Mingw-w64 Unicode Paths Do Not Work
    
    Added documentation of cmake flags used for using and installing boost.

(0070282)
git (administrator)
2017-09-06 17:15

Branch CR29081 has been updated by BenjaminBihler.

SHA-1: deb861a0d8033c44fbbe4ca9dda70db60359c94a


Detailed log of new commits:

Author: Benjamin Bihler
Date: Wed Sep 6 16:14:47 2017 +0200

    0029081: With Mingw-w64 Unicode Paths Do Not Work
    
    Corrected boost header file path.

(0070283)
git (administrator)
2017-09-06 17:20

Branch CR29081 has been updated by BenjaminBihler.

SHA-1: 6f965ae8ee9e552f8f4badccb135cbdc0eced6af


Detailed log of new commits:

Author: Benjamin Bihler
Date: Wed Sep 6 16:20:38 2017 +0200

    0029081: With Mingw-w64 Unicode Paths Do Not Work
    
    Harmonized capitalization.


- Issue History
Date Modified Username Field Change
2017-09-04 17:30 BenjaminBihler New Issue
2017-09-04 17:30 BenjaminBihler Assigned To => Zia ul Azam
2017-09-04 17:30 BenjaminBihler Relationship added related to 0027585
2017-09-06 11:20 git Note Added: 0070263
2017-09-06 17:10 git Note Added: 0070281
2017-09-06 17:15 git Note Added: 0070282
2017-09-06 17:20 git Note Added: 0070283
2017-09-06 17:21 BenjaminBihler Assigned To Zia ul Azam => mpv
2017-09-06 17:21 BenjaminBihler Status new => resolved
2017-09-06 17:21 BenjaminBihler Steps to Reproduce Updated View Revisions
2017-09-07 11:44 mpv Assigned To mpv => abv


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker