View Issue Details

IDProjectCategoryView StatusLast Update
0032969Open CASCADEOCCT:Codingpublic2022-05-17 13:54
Reporteraml Assigned Tobugmaster  
PrioritynormalSeverityintegration request 
Status reviewedResolutionopen 
Product Version7.6.0 
Target Version7.7.0 
Summary0032969: Coding - get rid of unused headers [IMeshData to PLib]
DescriptionThis ticket is to clear unused headers in the packages from `IMeshData` to `PLib`.
Steps To ReproduceN/A
TagsNo tags attached.
Test case numberN/A

Relationships

child of 0032741 newaml Coding - get rid of unused headers 

Activities

git

2022-05-12 15:48

administrator   ~0108412

Branch CR32969 has been created by aml.

SHA-1: a31116f32e903f4596b73b200679b6f643607e6e


Detailed log of new commits:

Author: aml
Date: Fri Jan 14 18:56:30 2022 +0300

    0032969: Coding - get rid of unused headers [IMeshData to math]

git

2022-05-13 07:58

administrator   ~0108420

Branch CR32969 has been updated forcibly by aml.

SHA-1: 0c5a8110d99c0bd871db2272353679ae1c3fbd18

aml

2022-05-16 06:56

developer   ~0108425

Dear Kirill,

Please take a look at the CR32969 branch. Jenkins job is:
http://jenkins-test-occt/view/CR32969-master-aml/view/ALL/

git

2022-05-16 09:24

administrator   ~0108429

Branch CR32969 has been updated by kgv.

SHA-1: 76fb1ee1400a17513571812cfafabe093cd5aa48


Detailed log of new commits:

Author: kgv
Date: Mon May 16 09:24:19 2022 +0300

    Removed unused exception classes OSD_Exception_FLT_DIVIDE_BY_ZERO, OSD_Exception_INT_DIVIDE_BY_ZERO, OSD_Exception_FLT_DENORMAL_OPERAND, OSD_Exception_FLT_INEXACT_RESULT, OSD_Exception_FLT_INVALID_OPERATION, OSD_Exception_FLT_OVERFLOW, OSD_Exception_FLT_STACK_CHECK, OSD_Exception_FLT_UNDERFLOW.

kgv

2022-05-16 15:21

developer   ~0108444

Please raise the patch:
- OCCT: branch CR32969;
- OCC Products: branch CR32969.

smoskvin

2022-05-17 09:55

administrator   ~0108463

Problem compilation with OCCT_DEBUG=ON

/dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_BasicNode.cxx: In function ‘char* db_pretty_print(const LDOM_BasicNode*, int, char*)’:

/dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_BasicNode.cxx:66:79: error: cannot convert ‘const LDOM_BasicAttribute*’ to ‘const LDOM_BasicNode*’ for argument ‘1’ to ‘char* db_pretty_print(const LDOM_BasicNode*, int, char*)’
             db_pretty_print ((const LDOM_BasicAttribute *) aBNode, FLITERAL, 0);
                                                                               ^

/dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_BasicNode.cxx:101:19: error: invalid use of incomplete type ‘const class LDOM_BasicAttribute’
       out << aBAtt.GetName() << '='
                   ^
In file included from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/Debian80-64-deb/OCCT/include/opencascade/LDOMString.hxx:1:0,
                 from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_Node.hxx:22,
                 from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/Debian80-64-deb/OCCT/include/opencascade/LDOM_Node.hxx:1,
                 from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_BasicNode.hxx:19,
                 from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/Debian80-64-deb/OCCT/include/opencascade/LDOM_BasicNode.hxx:1,
                 from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_BasicNode.cxx:16:

/dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOMString.hxx:70:16: error: forward declaration of ‘const class LDOM_BasicAttribute’
   friend class LDOM_BasicAttribute;
                ^

/dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_BasicNode.cxx:102:35: error: invalid use of incomplete type ‘const class LDOM_BasicAttribute’
         << db_pretty_print (&aBAtt.GetValue(), FLITERAL, 0) << std::ends;
                                   ^
In file included from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/Debian80-64-deb/OCCT/include/opencascade/LDOMString.hxx:1:0,
                 from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_Node.hxx:22,
                 from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/Debian80-64-deb/OCCT/include/opencascade/LDOM_Node.hxx:1,
                 from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_BasicNode.hxx:19,
                 from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/Debian80-64-deb/OCCT/include/opencascade/LDOM_BasicNode.hxx:1,
                 from /dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_BasicNode.cxx:16:

/dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOMString.hxx:70:16: error: forward declaration of ‘const class LDOM_BasicAttribute’
   friend class LDOM_BasicAttribute;
                ^

/dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_BasicNode.cxx:109:13: error: ‘LDOM_BasicText’ does not name a type
       const LDOM_BasicText& aBText = * (const LDOM_BasicText *) aBNode;
             ^

/dn61/builds/CR0-WEEK-20_CR0-WEEK-20/OCCT_SRC/src/LDOM/LDOM_BasicNode.cxx:111:32: error: ‘aBText’ was not declared in this scope
       out << db_pretty_print (&aBText.GetData(), FLITERAL, 0) << std::ends;
                                ^
Problem compilation on Windows 32 and 64 with uwp

1>E:\builds\CR0-WEEK-20_CR0-WEEK-20\OCCT_SRC\src\OSD\OSD_WNT.cxx(291): error C3861: 'EqualSid': identifier not found

1>E:\builds\CR0-WEEK-20_CR0-WEEK-20\OCCT_SRC\src\OSD\OSD_WNT.cxx(314): error C3861: 'EqualSid': identifier not found

1>E:\builds\CR0-WEEK-20_CR0-WEEK-20\OCCT_SRC\src\OSD\OSD_WNT.cxx(470): error C3861: 'GetFileSecurityW': identifier not found

Problem compilation on Windows with Mingw

E:\builds\CR0-WEEK-20_CR0-WEEK-20\OCCT_SRC\src\OSD\OSD_OpenFile.cxx:65:84: error: '_SH_DENYNO' was not declared in this scope
   const errno_t anErrCode = _wsopen_s (&aFileDesc, theName.ToWideString(), aFlags, _SH_DENYNO, _S_IREAD | _S_IWRITE);
                                                                                    ^~~~~~~~~~

git

2022-05-17 13:52

administrator   ~0108467

Branch CR32969 has been updated by aml.

SHA-1: ca386ebe67e5a8657ee03d05c74cbce3c6168cec


Detailed log of new commits:

Author: aml
Date: Tue May 17 13:52:44 2022 +0300

    # Fix compilation.

aml

2022-05-17 13:54

developer   ~0108468

Please rise the patch:
- OCCT: branch CR32969;
- OCC Products: branch CR32969.

Issue History

Date Modified Username Field Change
2022-05-12 15:47 aml New Issue
2022-05-12 15:47 aml Assigned To => aml
2022-05-12 15:47 aml Relationship added child of 0032741
2022-05-12 15:48 git Note Added: 0108412
2022-05-13 07:56 aml Summary Coding - get rid of unused headers [IMeshData to math] => Coding - get rid of unused headers [IMeshData to PLib]
2022-05-13 07:56 aml Description Updated
2022-05-13 07:58 git Note Added: 0108420
2022-05-16 06:56 aml Assigned To aml => kgv
2022-05-16 06:56 aml Status new => resolved
2022-05-16 06:56 aml Steps to Reproduce Updated
2022-05-16 06:56 aml Note Added: 0108425
2022-05-16 09:24 git Note Added: 0108429
2022-05-16 15:21 kgv Assigned To kgv => bugmaster
2022-05-16 15:21 kgv Status resolved => reviewed
2022-05-16 15:21 kgv Test case number => N/A
2022-05-16 15:21 kgv Note Added: 0108444
2022-05-17 09:55 smoskvin Assigned To bugmaster => aml
2022-05-17 09:55 smoskvin Status reviewed => assigned
2022-05-17 09:55 smoskvin Note Added: 0108463
2022-05-17 13:52 git Note Added: 0108467
2022-05-17 13:53 aml Status assigned => resolved
2022-05-17 13:54 aml Assigned To aml => bugmaster
2022-05-17 13:54 aml Status resolved => reviewed
2022-05-17 13:54 aml Note Added: 0108468