View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0032816 | Community | OCCT:Configuration | public | 2022-02-05 11:55 | 2022-02-05 11:58 |
| Reporter | aothms | Assigned To | |||
| Priority | normal | Severity | minor | ||
| Status | new | Resolution | open | ||
| Platform | Windows | OS | VC++ 2015 | ||
| Product Version | 7.5.3 | ||||
| Summary | 0032816: Configuration, CMake - occt_macros.cmake trips over double + in path | ||||
| Description | Originally reported here https://github.com/IfcOpenShell/IfcOpenShell/issues/2022 I have a user who's building occt in a path containing "C++" On L569 https://github.com/Open-Cascade-SAS/OCCT/blob/master/adm/cmake/occt_macros.cmake#L569 your script tries to parse a subdir as a regex, which would fail in this case with the following message: RegularExpression::compile(): Nested *?+. RegularExpression::compile(): Error in compile. Because indeed ++ is not a valid regex part (I filed it under WOK because I don't see a cmake/build category) | ||||
| Steps To Reproduce | Checkout occt in a directory containing ++ and build using cmake. | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-02-05 11:55 | aothms | New Issue | |
| 2022-02-05 11:55 | aothms | Assigned To | => kgv |
| 2022-02-05 11:57 | kgv | Assigned To | kgv => inv |
| 2022-02-05 11:57 | kgv | Category | OCCT:WOK => OCCT:Configuration |
| 2022-02-05 11:58 | kgv | Summary | occt_macros.cmake trips over double + in path => Configuration, CMake - occt_macros.cmake trips over double + in path |