MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030277Open CASCADE[OCCT] OCCT:Codingpublic2018-10-21 22:062018-10-31 23:18
Reporterkgv 
Assigned Togka 
PrioritynormalSeverityminor 
StatusfeedbackResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.2.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0030277: Coding Rules - avoid extremely long class names in STEP packages
DescriptionSTEP packages define files with really long names.

Such names (apart from difficulty to refer to them) imply various issues on systems with limited length of process arguments (Windows) as well as packaging into some archives:

CMake Warning in src/TKSTEPAttr/CMakeLists.txt:
  The object file directory

    C:/workssd/Develop/Projects/CADAssistant/cadassistant-test/work/occt/occt.git/work/android-armeabi-v7a-gcc-make/src/TKSTEPAttr/CMakeFiles/TKSTEPAttr.dir/

  
has 153 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    __/StepVisual/StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.cxx.o

  
cannot be safely placed under this directory.  The build may not work
  correctly.


[ 75%] Built target TKSTEPBase
[ 75%] Building CXX object src/TKSTEPAttr/CMakeFiles/TKSTEPAttr.dir/__/StepVisual/StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.cxx.o

src\TKSTEPAttr\CMakeFiles\TKSTEPAttr.dir\build.make:85: recipe for target 'src/TKSTEPAttr/CMakeFiles/TKSTEPAttr.dir/__/StepVisual/StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem.cxx.o' 
failed
CMakeFiles\Makefile2:2119: recipe for target 'src/TKSTEPAttr/CMakeFiles/TKSTEPAttr.dir/all' failed
Makefile:128: recipe for target 'all' failed
The system cannot find the path specified.


It is proposed renaming such classes to fit into some reasonable limit.
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0028444closedapn Open CASCADE Data Exchange - Missed text blocks in Saved Views 

-  Notes
(0080164)
kgv (developer)
2018-10-21 23:46

Galina, could you please suggest some better naming for
StepVisual_AnnotationCurveOccurrenceAndAnnotationOccurrenceAndGeomReprItemAndReprItemAndStyledItem
?

- Issue History
Date Modified Username Field Change
2018-10-21 22:06 kgv New Issue
2018-10-21 22:06 kgv Assigned To => kgv
2018-10-21 22:06 kgv Relationship added related to 0028444
2018-10-21 23:46 kgv Note Added: 0080164
2018-10-21 23:46 kgv Assigned To kgv => gka
2018-10-21 23:46 kgv Status new => feedback
2018-10-21 23:47 kgv Relationship added related to 0027807
2018-10-31 18:16 kgv Description Updated View Revisions


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker