[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55991] OpenGL deprecation warnings in build o
From: |
Andrew Janke |
Subject: |
[Octave-bug-tracker] [bug #55991] OpenGL deprecation warnings in build on macOS |
Date: |
Sun, 24 Mar 2019 15:18:31 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?55991>
Summary: OpenGL deprecation warnings in build on macOS
Project: GNU Octave
Submitted by: apjanke
Submitted on: Sun 24 Mar 2019 07:18:30 PM UTC
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Other
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Mac OS
_______________________________________________________
Details:
OpenGL has been deprecated on macOS. This causes to Octave build to raise a
lot of deprecation warnings.
[...]
In file included from ../../octave/libgui/graphics/gl-select.cc:27:
In file included from ../../octave/libgui/graphics/gl-select.h:30:
../../octave/libinterp/corefcn/oct-opengl.h:423:9: warning: 'glTexParameteri'
is deprecated: first deprecated in macOS 10.14 - OpenGL API
deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings)
[-Wdeprecated-declarations]
::glTexParameteri (target, pname, param);
^
/Applications/Xcode-10.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2723:13:
note:
'glTexParameteri' has been explicitly marked deprecated here
extern void glTexParameteri (GLenum target, GLenum pname, GLint param)
OPENGL_DEPRECATED(10.0, 10.14);
^
In file included from ../../octave/libgui/graphics/gl-select.cc:27:
In file included from ../../octave/libgui/graphics/gl-select.h:30:
../../octave/libinterp/corefcn/oct-opengl.h:428:9: warning: 'glTranslated' is
deprecated: first deprecated in macOS 10.14 - OpenGL API
deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings)
[-Wdeprecated-declarations]
::glTranslated (x, y, z);
^
[...]
We know about this, and don't care for the moment. Let's silence these
warnings by defining GL_SILENCE_DEPRECATION.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55991>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55991] OpenGL deprecation warnings in build on macOS,
Andrew Janke <=