View Issue Details

IDProjectCategoryView StatusLast Update
0032816CommunityOCCT:Configurationpublic2022-02-05 11:58
Reporteraothms Assigned Toinv 
PrioritynormalSeverityminor 
Status newResolutionopen 
PlatformWindowsOSVC++ 2015 
Product Version7.5.3 
Summary0032816: Configuration, CMake - occt_macros.cmake trips over double + in path
DescriptionOriginally 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 ReproduceCheckout occt in a directory containing ++ and build using cmake.
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

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