Archived issue #0032970
Visualization, TKOpenGl - fix compilation on Linux: 'False' was not declared
Description
The following error should be fixed:
/occt.git/src/OpenGl/OpenGl_Context.cxx:1821: error: ‘False’ was not declared in this scope
../../../../src/OpenGl/OpenGl_Context.cxx: In member function ‘void OpenGl_Context::MemoryInfo(TColStd_IndexedDataMapOfStringString&) const’:
../../../../src/OpenGl/OpenGl_Context.cxx:1821:100: error: ‘False’ was not declared in this scope
1821 | if (myFuncs->glXQueryCurrentRendererIntegerMESA (GLX_RENDERER_VIDEO_MEMORY_MESA, &aVMemMiB) != False)
| ^~~~~
Steps to reproduce
N/A
Public activity
3 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Sun May 15 01:11:06 2022 +0300
0032970: Visualization, TKOpenGl - fix compilation on Linux: 'False' was not declared
[revision removed]
Detailed log of new commits:
Author: Author
Date: Sun May 15 01:11:06 2022 +0300
0032970: Visualization, TKOpenGl - fix compilation on Linux: 'False' was not declared
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 18673.29000000065 / 18725.070000000575 [-0.28%]
Products
Total CPU difference: 11729.870000000092 / 11731.410000000136 [-0.01%]
Windows-64-VC14:
OCCT
Total CPU difference: 20661.390625 / 20657.984375 [+0.02%]
Products
Total CPU difference: 13282.171875 / 13258.375 [+0.18%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 18673.29000000065 / 18725.070000000575 [-0.28%]
Products
Total CPU difference: 11729.870000000092 / 11731.410000000136 [-0.01%]
Windows-64-VC14:
OCCT
Total CPU difference: 20661.390625 / 20657.984375 [+0.02%]
Products
Total CPU difference: 13282.171875 / 13258.375 [+0.18%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
Branch [archived branch] has been deleted by Commenter 2.
[revision removed]
[revision removed]