DiscussionsIssue archiveOCCT:Configuration

Archived issue #0033250

Configuration - Missing Limits header file

Open CASCADEOCCT:Configurationverified4 public notes

Search issues

Description

It is inpossible to build OCCT on gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
"opencascade-7.7.0/src/ViewerTest/ViewerTest_CmdParser.cxx",miss "#include <limits>"
Additionally, I find a message on forum: https://dev.opencascade.org/node/84230#comment-23868

Steps to reproduce

Not possible

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Commenter 4
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri Dec 2 16:08:06 2022 +0000

    0033250: Configuration - Missing Limits header file
    
    Added new include limits to fix build problem
02Author
Dear smoskvin
please review CR33250.

It is necessary to test on linux OS in new gcc. The current fix solve the problem on gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0.
Problem string is ViewerTest_CmdParser.cxx::54:
const std::size_t ViewerTest_CmdParser::THE_UNNAMED_COMMAND_OPTION_KEY = (std::numeric_limits<std::size_t>::max)();

Build is OK, see:
http://jenkins-test-10.nnov.opencascade.com/view/CR33250-master-Author/view/OCCT%20compile/
03Author
To integration:
OCCT - CR33250
04Commenter 4
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records