View Issue Details

IDProjectCategoryView StatusLast Update
0023713CommunityOCCT:Foundation Classespublic2013-01-19 10:21
ReporterRoman Lygin Assigned Toabv 
PrioritynormalSeverityminor 
Status closedResolutionnot fixable 
PlatformAOSL 
Product Version6.5.4 
Summary0023713: Standard_DefineAlloc.hxx failed to compile with Standard.hxx included
DescriptionStandard_DefineAlloc.hxx needs to include Standard.hxx as it used its Standard's API inline.

Otherwise compiler fails when trying to use the DEFINE_STANDARD_ALLOC macro

base_fstream.hxx(36) : error C2653: 'Standard' : is not a class or namespace name
base_fstream.hxx(36) : error C3861: 'Allocate': identifier not found
base_fstream.hxx(36) : error C2653: 'Standard' : is not a class or namespace name
base_fstream.hxx(36) : error C2065: 'Standard_Address' : undeclared identifier
...
TagsNo tags attached.
Test case number

Activities

Roman Lygin

2013-01-18 22:23

developer   ~0023034

The fix seems impossible as there appears cyclic dependence between Standard.hxx and Standard_DefineAlloc.hxx.
Need to close the bug report.

Roman Lygin

2013-01-18 22:25

developer   ~0023035

To OCC team: please close the tracker as 'Will Not Fix'.
It seems impossible to do by the submitter.

Issue History

Date Modified Username Field Change
2013-01-18 20:51 Roman Lygin New Issue
2013-01-18 20:51 Roman Lygin Assigned To => abv
2013-01-18 22:23 Roman Lygin Note Added: 0023034
2013-01-18 22:23 Roman Lygin Assigned To abv => Roman Lygin
2013-01-18 22:23 Roman Lygin Status new => assigned
2013-01-18 22:24 Roman Lygin Status assigned => resolved
2013-01-18 22:24 Roman Lygin Status resolved => reviewed
2013-01-18 22:25 Roman Lygin Note Added: 0023035
2013-01-18 22:26 Roman Lygin Assigned To Roman Lygin => abv
2013-01-19 10:21 abv Status reviewed => closed
2013-01-19 10:21 abv Resolution open => not fixable