Deprecation warnings on OSX

Bug #1629330 reported by xzcvczx
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

The following functions/type have been deprecated since 10.9, as this was released ~3yrs ago there is no guarantee of how much longer apple will keep these functions around

common/gal/opengl/opengl_gal.cpp
    gluNewTess()
    gluTessProperty()
    gluDeleteTess()
    gluTessBeginPolygon()
    gluTessBeginContour()
    gluTessVertex()
    gluTessEndContour()
    gluTessEndPolygon()
    gluTessCallback()

utils/idftools/vrml_layer
    gluNewTess()
    gluTessCallback()
    gluTessProperty()
    gluTessNormal()
    gluDeleteTess()
    gluTessBeginPolygon()
    gluTessEndPolygon()
    gluTessBeginContour()
    gluTessEndContour()
    gluTessVertex()
    gluErrorString()

3d-viewer/3d_rendering/3d_render_ogl_legacy/ogl_legacy_utils.cpp
    GLUquadricObj
    gluNewQuadric()
    gluQuadricDrawStyle()
    gluQuadricNormals()
    gluCylinder()
    gluDeleteQuadric()
    gluDisk()
    gluSphere()

For the following 2 the recommended replacement from the deprecation notice is GLXMatrix4MakePerspective (but that would require a later version of opengl) It can also be replaced by glm::perspective(http://stackoverflow.com/a/19647181) which wouldn't require a later version of ogl

3d-viewer/3d_rendering/3d_render_ogl_legacy/c3d_render_ogl_legacy.cpp
    gluPerspective()
3d-viewer/3d_model_viewer/c3d_model_viewer.cpp
    gluPerspective()

Tags: macos
Jeff Young (jeyjey)
Changed in kicad:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Jeff Young (jeyjey) wrote :

I'm moving this to the wishlist as it doesn't impact users.

Changed in kicad:
importance: Low → Wishlist
Revision history for this message
xzcvczx (xzcvczx) wrote :

that is ridiculous, just because it does not affect users currently doesn't make it a wishlist item

Revision history for this message
Nick Østergaard (nickoe) wrote :

Maybe we should just target it for v6 to not forget it?

tags: added: macos
Revision history for this message
Jeff Young (jeyjey) wrote :

I stand by my position. I nearly closed it as Won't Fix because I can't imagine anyone doing anything about it (even in 6.0) until we have to. But I decided that might be just because I'm not familiar with the OpenGL stuff -- maybe someone who is will find it an easy fix.

But hey, it's open source. Submit a patch and then it won't matter what it's called. ;)

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/2036

Changed in kicad:
status: Triaged → Expired
Changed in kicad:
importance: Wishlist → Unknown
status: Expired → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.