View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032599 | Community | OCCT:Coding | public | 2021-09-30 11:50 | 2021-10-21 19:59 |
Reporter | BenjaminBihler | Assigned To | bugmaster | ||
Priority | normal | Severity | major | ||
Status | closed | Resolution | no change required | ||
Platform | A | OS | L | ||
Product Version | 7.6.0 | ||||
Target Version | 7.6.0 | ||||
Summary | 0032599: Coding Rules - Header file leads to compilation error | ||||
Description | I am working with commit 3be25c11705b931ff623f372a24e3e1b2203899c. Including the file Adaptor3d_HSurface.hxx leads to several compilation errors with g++ 10.2. Some of them are: Adaptor3d_HSurface.lxx:128:25: error: could not convert 'Adaptor3d_Surface::UTrim(((Standard_Real)First), ((Standard_Real)Last), ((Standard_Real)Tol))' from 'handle<Adaptor3d_Surface>' to 'handle<Adaptor3d_HSurface>' Adaptor3d_HSurface.lxx:464:30: error: could not convert 'Adaptor3d_Surface::BasisCurve()' from 'handle<Adaptor3d_Curve>' to 'handle<Adaptor3d_HCurve>' Adaptor2d_HCurve2d.lxx:77:24: error: could not convert 'Adaptor2d_Curve2d::Trim(((Standard_Real)First), ((Standard_Real)Last), ((Standard_Real)Tol))' from 'handle<Adaptor2d_Curve2d>' to 'handle<Adaptor2d_HCurve2d>' | ||||
Steps To Reproduce | Include file "Adaptor3d_HSurface.hxx" in some main.cpp and compile. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Benjamin, Adaptor3d_HSurface.hxx does no more exist in development version since 0028966. H-versions have been merged into non-H classes, so that duplicating hierarchies have been eliminated with some code clean up. https://dev.opencascade.org/doc/overview/html/occt__upgrade.html#upgrade_760_handle_adaptors Please fill free to comment if you still have some issues with these classes in forthcoming OCCT 7.6.0. |
|
Maybe you have some dead header files from old OCCT in your local setup. |
|
Kirill, you are right, the file was from an old installation. :-( Thank you. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-09-30 11:50 | BenjaminBihler | New Issue | |
2021-09-30 11:50 | BenjaminBihler | Assigned To | => mpv |
2021-09-30 12:05 |
|
Assigned To | mpv => msv |
2021-09-30 12:05 |
|
Category | OCCT:Application Framework => OCCT:Modeling Data |
2021-09-30 12:05 | kgv | Assigned To | msv => mpv |
2021-09-30 12:05 | kgv | Category | OCCT:Modeling Data => OCCT:Coding |
2021-09-30 12:05 | kgv | Product Version | Unscheduled => 7.6.0 |
2021-09-30 12:05 | kgv | Summary | Header file leads to compilation error => Coding Rules - Header file leads to compilation error |
2021-09-30 12:21 | kgv | Relationship added | child of 0028966 |
2021-09-30 12:23 | kgv | Note Added: 0104443 | |
2021-09-30 12:25 | kgv | Note Edited: 0104443 | |
2021-09-30 12:26 | kgv | Assigned To | mpv => BenjaminBihler |
2021-09-30 12:26 | kgv | Status | new => feedback |
2021-09-30 12:26 | kgv | Resolution | open => no change required |
2021-09-30 12:26 | kgv | Product Version | 7.6.0 => 7.5.0 |
2021-09-30 12:26 | kgv | Note Edited: 0104443 | |
2021-09-30 12:28 | kgv | Note Added: 0104444 | |
2021-09-30 12:48 | BenjaminBihler | Note Added: 0104445 | |
2021-09-30 14:10 | kgv | Assigned To | BenjaminBihler => bugmaster |
2021-09-30 14:10 | kgv | Product Version | 7.5.0 => 7.6.0 |
2021-10-21 19:59 | bugmaster | Status | feedback => closed |