View Issue Details

IDProjectCategoryView StatusLast Update
0033323CommunityOCCT:Codingpublic2024-03-07 14:06
Reporterlitavszky Assigned Tolitavszky  
PrioritynormalSeverityminor 
Status closedResolutionduplicate 
PlatformUbuntu 22.04 WSLOSUbuntu 22.04 WSL 
Summary0033323: Coding - Missing #include <limits> in ViewerTest_CmdParser.cxx in v7.7.0
DescriptionMissing #include <limits> in ViewerTest_CmdParser.cxx file.


Build stopped with the following compilation error at around 96%:

opencascade-7.7.0/src/ViewerTest/ViewerTest_CmdParser.cxx:53:80: error: ‘numeric_limits’ is not a member of ‘std’
   53 | const std::size_t ViewerTest_CmdParser::THE_UNNAMED_COMMAND_OPTION_KEY = (std::numeric_limits<std::size_t>::max)();


Adding the #include <limits> to the include list in the file solved the problem and the build succesfully finished.
Steps To ReproduceBuild from source on linux, v7.7.0 with out of the box configuration on Ubuntu 22.04 WSL
TagsNo tags attached.
Test case number

Relationships

duplicate of 0033250 verifieddpasukhi Open CASCADE Configuration - Missing Limits header file 

Activities

dpasukhi

2023-02-03 12:26

administrator   ~0113060

Dear @litavszky

Issue have been resolved within 0033250
If no any new remarks, please let me now. I ask for close issue.

dpasukhi

2024-03-07 14:06

administrator   ~0115257

Issue have been resolved within 0033250

Issue History

Date Modified Username Field Change
2023-02-03 09:51 litavszky New Issue
2023-02-03 09:51 litavszky Assigned To => vglukhik
2023-02-03 10:02 litavszky Assigned To vglukhik => litavszky
2023-02-03 12:25 dpasukhi Relationship added duplicate of 0033250
2023-02-03 12:26 dpasukhi Note Added: 0113060
2023-02-03 12:27 dpasukhi Category OCCT:Tests => OCCT:Coding
2023-02-03 12:27 dpasukhi Summary Missing #include <limits> in ViewerTest_CmdParser.cxx in v7.7.0 => Coding - Missing #include <limits> in ViewerTest_CmdParser.cxx in v7.7.0
2023-02-03 16:55 dpasukhi Status new => feedback
2024-03-07 14:06 dpasukhi Status feedback => closed
2024-03-07 14:06 dpasukhi Resolution open => duplicate
2024-03-07 14:06 dpasukhi Note Added: 0115257