View Issue Details

IDProjectCategoryView StatusLast Update
0005421Open CASCADEOCCT:Foundation Classespublic2012-01-12 14:56
ReporteragvAssigned Toimv  
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSWindows NT 
Summary0005421: Support of STL streams should not be mandatory on WNT
DescriptionToday the STL support is in general switched on by macro HAVE_IOSTREAM on all
platform except WNT. Strangely, on WNT these streams are used unconditionally,
see Standard_Stream.hxx and Standard_SStream.hxx.

This practice conflicts with the need of specific development:

 1. If SD target is library, not executable, then it is completely wrong because
your approach creates incompatibility with the customer's main application.
 2. STL streams are issue of source code incompatibility up to blocking any
upgrade and maintenance of OCC platform. In particular, STL does not implement
class "ostream_withassign" used in SD projects.

I attach the proposed correction, though please do not charge me of any further
activity, this is the problem of Open Cascade as platform and should not
correlate with any SD projects.
Additional information
and documentation updates
Documentation remark, added by ABV 2005-09-13 10:50:14:

Improvements:
When building Open CASCADE Technology libraries from sources on Windows NT
platform, macro USE_OLD_STREAMS can be defined to enforce it using old-style
streams library rather than new (STL) streams (default)

NOTE FOR DOCUMENTATION TEAM:
This information should be also reflected in OCC documentation, section
'Building Modules', along with description of other options of this kind
(currently missing -- please contact IMV or ABV for information)
Modified entities:
Standard_SStream.hxx
Standard_Stream.hxx
TagsNo tags attached.
Test case number

Attached Files

Activities

2004-03-11 17:56

 

streams_wnt.tar.gz (630 bytes)

2004-10-14 13:37

 

OCC5421.tgz (6,909 bytes)

2005-08-25 11:19

 

imv-occ5421-v1.tgz (871 bytes)

2005-09-08 08:39

 

abv-OCC5421-v3.tgz (952 bytes)

Issue History

Date Modified Username Field Change
2004-04-13 15:40 bugmaster Customer => Open CASCADE
2004-04-13 15:41 bugmaster Status closed => assigned
2004-04-13 15:41 bugmaster Resolution suspended => @0@
2004-04-13 15:42 bugmaster Assigned To bugmaster => imv
2004-04-19 14:10 bugmaster Status assigned => closed
2004-04-19 14:10 bugmaster Fixed in Version => 5.1.3
2004-04-19 14:10 bugmaster Resolution @0@ => unable to reproduce
2004-10-08 08:28 bugmaster Assigned To imv => bugmaster
2004-10-08 08:28 bugmaster Status closed => assigned
2004-10-08 08:28 bugmaster Resolution unable to reproduce => @0@
2004-11-01 11:41 bugmaster CC => apv
2004-11-01 11:41 bugmaster Status assigned => resolved
2004-11-01 14:34 bugmaster Assigned To bugmaster => imv
2004-11-01 14:34 bugmaster Status resolved => assigned
2004-11-01 14:34 bugmaster Status assigned => resolved
2004-11-10 16:00 apv CC => aki
2004-11-18 11:20 aki Status resolved => tested
2005-08-23 16:54 bugmaster Assigned To imv => bugmaster
2005-08-23 16:54 bugmaster Status tested => assigned
2005-08-23 16:54 bugmaster Status assigned => resolved
2005-08-25 13:20 bugmaster Assigned To bugmaster => imv
2005-08-25 13:20 bugmaster Status resolved => assigned
2005-09-07 13:04 bugmaster CC => abv
2005-09-13 12:53 abv Status assigned => resolved
2005-09-20 12:34 bugmaster Status resolved => verified
2005-09-20 12:58 bugmaster CC => imv
2005-10-31 17:43 bugmaster Status verified => closed
2005-10-31 17:43 bugmaster Resolution @0@ => fixed
2011-08-02 11:23 bugmaster Category OCCT:FDC => OCCT:Foundation Classes
2012-01-12 14:56 ysn Description Updated
2012-01-12 14:56 ysn Additional Information Updated