View Issue Details

IDProjectCategoryView StatusLast Update
0031843CommunityOCCT:Codingpublic2021-11-21 23:45
Reportergalbramc Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status feedbackResolutionduplicate 
PlatformMacOSOS 
Product Version7.3.0 
Target Version7.6.0Fixed in Version7.6.0 
Summary0031843: Visualization, TKOpenGl - macOS OpenGL depreciation warning
Descriptionsrc/Aspect/Aspect_RenderingContext.hxx:40:13: warning: 'NSOpenGLContext' is deprecated: first
      deprecated in macOS 10.14 - Please use Metal or MetalKit. [-Wdeprecated-declarations]
    typedef NSOpenGLContext* Aspect_RenderingContext;
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:184:12: note:
      'NSOpenGLContext' has been explicitly marked deprecated here
@interface NSOpenGLContext : NSObject <NSLocking>
Steps To ReproduceCompile OCCT 7.5.0 Beta on macOS 10.15 or newer.
TagsNo tags attached.
Test case numberN/A

Relationships

related to 0030681 closedbugmaster Open CASCADE Configuration - suppress OpenGL deprecation warning on macOS 10.14 
has duplicate 0032423 closedsmoskvin Open CASCADE Coding Rules - NSOpenGLContext deprecation warnings during compilation for macOS 10.14+ 

Activities

kgv

2020-10-12 23:02

developer   ~0095907

There is no way to fix this warning until a robust open-source OpenGL or Vulkan implementation will not appear on macOS platform, as Apple doesn't provide any alternative.

galbramc

2021-11-21 23:24

reporter   ~0105325

These warnings no longer show up during compile with 7.6. Please close this issue.

kgv

2021-11-21 23:45

developer   ~0105328

Please close as duplicate of 0032423.

Issue History

Date Modified Username Field Change
2020-10-12 22:38 galbramc New Issue
2020-10-12 22:38 galbramc Assigned To => abv
2020-10-12 22:59 kgv Relationship added related to 0030681
2020-10-12 23:02 kgv Note Added: 0095907
2020-10-12 23:03 kgv Product Version => 7.3.0
2020-10-12 23:03 kgv Summary [OCCT] 7.5.0 Beta macOS OpenGL depreciation warning => Visualization, TKOpenGl - macOS OpenGL depreciation warning
2021-06-07 19:25 kgv Relationship added has duplicate 0032423
2021-11-21 23:24 galbramc Note Added: 0105325
2021-11-21 23:45 kgv Test case number => N/A
2021-11-21 23:45 kgv Note Added: 0105328
2021-11-21 23:45 kgv Assigned To abv => bugmaster
2021-11-21 23:45 kgv Status new => feedback
2021-11-21 23:45 kgv Resolution open => duplicate
2021-11-21 23:45 kgv Fixed in Version => 7.6.0
2021-11-21 23:45 kgv Target Version => 7.6.0