View Issue Details

IDProjectCategoryView StatusLast Update
0033200CommunityOCCT:Testspublic2022-11-15 14:01
Reporternachomartinochoa_143715 Assigned Toapn  
Status newResolutionopen 
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:

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:;a=shortlog;h=refs/tags/V7_7_0

For example:;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)



2022-11-15 13:49


Selection_158.png (81,508 bytes)


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

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