View Issue Details

IDProjectCategoryView StatusLast Update
0033200CommunityOCCT:Testspublic2024-03-07 14:06
Reporternachomartinochoa_143715 Assigned Toapn  
PrioritynormalSeveritytrivial 
Status closedResolutionduplicate 
PlatformLinuxOSUbuntu 20.04 
Summary0033200: Missing include
Description(I'll try to make a PR to fix this now)

It seems like if you build all on OCCT 7.7.0 right now, you get an error:

/opt/occt-7.7.0/src/ViewerTest/ViewerTest_CmdParser.cxx:54:11: error: ‘numeric_limits’ is not a member of ‘std’
   54 | (std::numeric_limits<std::size_t>::max)();
      | ^~~~~~~~~~~~~~

Which I fixed on my computer by just adding:
#include <limits>

To the file:
src/ViewerTest/ViewerTest_CmdParser.cxx


I'm new to C++ projects, so bear with me, but since I used the default CMake building chain I assume the problem is in the source code. So I decided to open an issue and PR for it

Feel free to close it if it's not relevant. In which case, I'd like to know what I did wront
Steps To ReproduceGet the OCCT 7.7.0 source code from:
https://git.dev.opencascade.org/gitweb/?p=occt.git;a=shortlog;h=refs/tags/V7_7_0

For example:
https://git.dev.opencascade.org/gitweb/?p=occt.git;a=commit;h=185d29b92f6764ffa9fc195b7dbe7bba3c4ac855

mkdir build
cd build
cmake ..
cmake --build . -v -j4
TagsNo tags attached.
Test case number

Attached Files

  • Selection_158.png (81,508 bytes)

Relationships

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

Activities

nachomartinochoa_143715

2022-11-15 13:49

reporter  

Selection_158.png (81,508 bytes)

git

2022-11-15 14:01

administrator   ~0112112

Branch CR33200 has been created by nachomartinochoa_143715.

SHA-1: 12fa9829e3ac4a8491fe456f69ef72428a6ed9ac


Detailed log of new commits:

Author: imochoa
Date: Tue Nov 15 12:01:51 2022 +0100

    CR33200 added limits include

dpasukhi

2024-03-07 14:06

administrator   ~0115258

Issue have been resolved within 0033250

Issue History

Date Modified Username Field Change
2022-11-15 13:49 nachomartinochoa_143715 New Issue
2022-11-15 13:49 nachomartinochoa_143715 Assigned To => apn
2022-11-15 13:49 nachomartinochoa_143715 File Added: Selection_158.png
2022-11-15 14:01 git Note Added: 0112112
2024-03-07 14:05 dpasukhi Relationship added duplicate of 0033250
2024-03-07 14:06 dpasukhi Status new => closed
2024-03-07 14:06 dpasukhi Resolution open => duplicate
2024-03-07 14:06 dpasukhi Note Added: 0115258