Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9612

[GCC8] Cast between incompatible types in ObjectProxy, RootModule, Pythonize, TMemoryRegulator, TGLFaceSet, ...

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 6.14/02
    • Fix Version/s: None
    • Component/s: Graphics, PyROOT
    • Labels:
    • Environment:

      ArchLinux x86_64, GCC 8.2.0

    • Development:

      Description

      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/ObjectProxy.cxx:186:45: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             { (char*)"__nonzero__",  (PyCFunction)op_nonzero,  METH_NOARGS, NULL },
                                                   ^~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/ObjectProxy.cxx:187:45: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             { (char*)"__bool__",     (PyCFunction)op_nonzero,  METH_NOARGS, NULL }, // for p3
                                                   ^~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/ObjectProxy.cxx:188:45: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             { (char*)"__destruct__", (PyCFunction)op_destruct, METH_NOARGS, NULL },
                                                   ^~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/ObjectProxy.cxx:189:45: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             { (char*)"__reduce__",   (PyCFunction)op_reduce,   METH_NOARGS, NULL },
                                                   ^~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/ObjectProxy.cxx:190:45: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ {aka ‘_object* (*)(_object*, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             { (char*)"__dispatch__", (PyCFunction)op_dispatch, METH_VARARGS, (char*)"dispatch to selected overload" },
                                                   ^~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/ObjectProxy.cxx:191:47: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             { (char*)"_get_smart_ptr", (PyCFunction)op_get_smart_ptr, METH_NOARGS, (char*)"get associated smart pointer, if any" },
                                                     ^~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/RootModule.cxx:765:56: warning: cast between incompatible function types from ‘PyObject* (*)()’ {aka ‘_object* (*)()’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
          { (char*) "_DestroyPyStrings", (PyCFunction)PyROOT::DestroyPyStrings,
                                                              ^~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/RootModule.cxx:789:72: warning: cast between incompatible function types from ‘PyObject* (*)()’ {aka ‘_object* (*)()’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
          { (char*) "InstallGUIEventInputHook", (PyCFunction)PyROOT::Utility::InstallGUIEventInputHook,
                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/RootModule.cxx:791:71: warning: cast between incompatible function types from ‘PyObject* (*)()’ {aka ‘_object* (*)()’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
          { (char*) "RemoveGUIEventInputHook", (PyCFunction)PyROOT::Utility::RemoveGUIEventInputHook,
                                                                             ^~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx: In function ‘Bool_t PyROOT::Pythonize(PyObject*, const string&)’:
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2380:69: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                   Utility::AddToClass( pyclass, "__iter__", (PyCFunction) StlSequenceIter, METH_NOARGS );
                                                                           ^~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2445:63: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, "__iter__",  (PyCFunction)TCollectionIter, METH_NOARGS );
                                                                     ^~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2456:62: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, "reverse", (PyCFunction) TSeqCollectionReverse, METH_NOARGS );
                                                                    ^~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2457:62: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ {aka ‘_object* (*)(_object*, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, "sort",    (PyCFunction) TSeqCollectionSort,
                                                                    ^~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2465:62: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, "__len__", (PyCFunction) TObjArrayLen, METH_NOARGS );
                                                                    ^~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2518:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)STLVectorArrayInterface<float, 'f'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2520:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)STLVectorArrayInterface<double, 'f'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2522:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)STLVectorArrayInterface<int, 'i'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2524:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)STLVectorArrayInterface<unsigned int, 'u'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2526:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)STLVectorArrayInterface<long, 'i'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2528:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)STLVectorArrayInterface<unsigned long, 'u'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2546:67: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, PYROOT__next__, (PyCFunction) StlIterNext, METH_NOARGS );
                                                                         ^~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2557:63: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, "__repr__", (PyCFunction) StlStringRepr, METH_NOARGS );
                                                                     ^~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2566:63: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, "__repr__", (PyCFunction) TStringRepr, METH_NOARGS );
                                                                     ^~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2577:63: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, "__repr__", (PyCFunction) TObjStringRepr, METH_NOARGS );
                                                                     ^~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2579:63: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, "__len__",  (PyCFunction) TObjStringLength, METH_NOARGS );
                                                                     ^~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2589:63: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, "__iter__", (PyCFunction) PyObject_SelfIter, METH_NOARGS );
                                                                     ^~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2592:67: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, PYROOT__next__, (PyCFunction) TIterNext, METH_NOARGS );
                                                                         ^~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2669:63: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*&, PyObject*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*&, _object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
             Utility::AddToClass( pyclass, "__call__", (PyCFunction) TFunctionCall );
                                                                     ^~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2722:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)RVecArrayInterface<float, 'f'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2724:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)RVecArrayInterface<double, 'f'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2726:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)RVecArrayInterface<int, 'i'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2728:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)RVecArrayInterface<unsigned int, 'u'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2730:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)RVecArrayInterface<long, 'i'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/Pythonize.cxx:2732:50: warning: cast between incompatible function types from ‘PyObject* (*)(PyROOT::ObjectProxy*)’ {aka ‘_object* (*)(PyROOT::ObjectProxy*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
                AddArrayInterface(pyclass, (PyCFunction)RVecArrayInterface<unsigned long, 'u'>);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/TMemoryRegulator.cxx: In constructor ‘{anonymous}::InitPyROOT_NoneType_t::InitPyROOT_NoneType_t()’:
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/bindings/pyroot/src/TMemoryRegulator.cxx:80:78: warning: cast between incompatible function types from ‘int (*)(PyObject*)’ {aka ‘int (*)(_object*)’} to ‘hashfunc’ {aka ‘long int (*)(_object*)’} [-Wcast-function-type]
                PyROOT_NoneType.tp_hash        = (hashfunc) &InitPyROOT_NoneType_t::PtrHash;
                                                                                    ^~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLFaceSet.cxx: In constructor ‘TGLFaceSet::EnforceTriangles()::TriangleCollector::TriangleCollector(GLUtesselator*)’:
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLFaceSet.cxx:244:77: warning: cast between incompatible function types from ‘void (*)(GLenum, TGLFaceSet::EnforceTriangles()::TriangleCollector*)’ {aka ‘void (*)(unsigned int, TGLFaceSet::EnforceTriangles()::TriangleCollector*)’} to ‘tessfuncptr_t’ {aka ‘void (*)()’} [-Wcast-function-type]
                gluTessCallback(ts, (GLenum)GLU_TESS_BEGIN_DATA,   (tessfuncptr_t) tess_begin);
                                                                                   ^~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLFaceSet.cxx:245:77: warning: cast between incompatible function types from ‘void (*)(Int_t*, TGLFaceSet::EnforceTriangles()::TriangleCollector*)’ {aka ‘void (*)(int*, TGLFaceSet::EnforceTriangles()::TriangleCollector*)’} to ‘tessfuncptr_t’ {aka ‘void (*)()’} [-Wcast-function-type]
                gluTessCallback(ts, (GLenum)GLU_TESS_VERTEX_DATA,  (tessfuncptr_t) tess_vertex);
                                                                                   ^~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLFaceSet.cxx:246:77: warning: cast between incompatible function types from ‘void (*)(GLdouble*, void**, GLfloat*, void**, TGLFaceSet::EnforceTriangles()::TriangleCollector*)’ {aka ‘void (*)(double*, void**, float*, void**, TGLFaceSet::EnforceTriangles()::TriangleCollector*)’} to ‘tessfuncptr_t’ {aka ‘void (*)()’} [-Wcast-function-type]
                gluTessCallback(ts, (GLenum)GLU_TESS_COMBINE_DATA, (tessfuncptr_t) tess_combine);
                                                                                   ^~~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLFaceSet.cxx:247:77: warning: cast between incompatible function types from ‘void (*)(TGLFaceSet::EnforceTriangles()::TriangleCollector*)’ to ‘tessfuncptr_t’ {aka ‘void (*)()’} [-Wcast-function-type]
                gluTessCallback(ts, (GLenum)GLU_TESS_END_DATA,     (tessfuncptr_t) tess_end);
                                                                                   ^~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLPadUtils.cxx: In constructor ‘Rgl::Pad::Tesselator::Tesselator(Bool_t)’:
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLPadUtils.cxx:1174:58: warning: cast between incompatible function types from ‘void (*)(GLenum)’ {aka ‘void (*)(unsigned int)’} to ‘Rgl::Pad::tess_t’ {aka ‘void (*)()’} [-Wcast-function-type]
             gluTessCallback(tess, (GLenum)GLU_BEGIN,  (tess_t) glBegin);
                                                                ^~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLPadUtils.cxx:1176:58: warning: cast between incompatible function types from ‘void (*)(const GLdouble*)’ {aka ‘void (*)(const double*)’} to ‘Rgl::Pad::tess_t’ {aka ‘void (*)()’} [-Wcast-function-type]
             gluTessCallback(tess, (GLenum)GLU_VERTEX, (tess_t) glVertex3dv);
                                                                ^~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLPadUtils.cxx:1178:58: warning: cast between incompatible function types from ‘void (*)(Int_t)’ {aka ‘void (*)(int)’} to ‘Rgl::Pad::tess_t’ {aka ‘void (*)()’} [-Wcast-function-type]
             gluTessCallback(tess, (GLenum)GLU_BEGIN,  (tess_t) Begin);
                                                                ^~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLPadUtils.cxx:1180:58: warning: cast between incompatible function types from ‘void (*)(const Double_t*)’ {aka ‘void (*)(const double*)’} to ‘Rgl::Pad::tess_t’ {aka ‘void (*)()’} [-Wcast-function-type]
             gluTessCallback(tess, (GLenum)GLU_VERTEX, (tess_t) Vertex);
                                                                ^~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLUtil.cxx: In constructor ‘{anonymous}::TGLTesselatorWrap::TGLTesselatorWrap(tessfuncptr_t)’:
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLUtil.cxx:1481:66: warning: cast between incompatible function types from ‘void (*)(GLenum)’ {aka ‘void (*)(unsigned int)’} to ‘tessfuncptr_t’ {aka ‘void (*)()’} [-Wcast-function-type]
             gluTessCallback(fTess, (GLenum)GLU_BEGIN,  (tessfuncptr_t) glBegin);
                                                                        ^~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLUtil.cxx: In static member function ‘static GLUtesselator* TGLUtil::GetDrawTesselator3fv()’:
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLUtil.cxx:1501:55: warning: cast between incompatible function types from ‘void (*)(const GLfloat*)’ {aka ‘void (*)(const float*)’} to ‘tessfuncptr_t’ {aka ‘void (*)()’} [-Wcast-function-type]
          static TGLTesselatorWrap singleton((tessfuncptr_t) glVertex3fv);
                                                             ^~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLUtil.cxx: In static member function ‘static GLUtesselator* TGLUtil::GetDrawTesselator4fv()’:
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLUtil.cxx:1512:55: warning: cast between incompatible function types from ‘void (*)(const GLfloat*)’ {aka ‘void (*)(const float*)’} to ‘tessfuncptr_t’ {aka ‘void (*)()’} [-Wcast-function-type]
          static TGLTesselatorWrap singleton((tessfuncptr_t) glVertex4fv);
                                                             ^~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLUtil.cxx: In static member function ‘static GLUtesselator* TGLUtil::GetDrawTesselator3dv()’:
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLUtil.cxx:1523:55: warning: cast between incompatible function types from ‘void (*)(const GLdouble*)’ {aka ‘void (*)(const double*)’} to ‘tessfuncptr_t’ {aka ‘void (*)()’} [-Wcast-function-type]
          static TGLTesselatorWrap singleton((tessfuncptr_t) glVertex3dv);
                                                             ^~~~~~~~~~~
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLUtil.cxx: In static member function ‘static GLUtesselator* TGLUtil::GetDrawTesselator4dv()’:
      /tmp/root-extra-3066864264136862138/root-extra/src/root-6.14.02/graf3d/gl/src/TGLUtil.cxx:1534:55: warning: cast between incompatible function types from ‘void (*)(const GLdouble*)’ {aka ‘void (*)(const double*)’} to ‘tessfuncptr_t’ {aka ‘void (*)()’} [-Wcast-function-type]
          static TGLTesselatorWrap singleton((tessfuncptr_t) glVertex4dv);
                                                             ^~~~~~~~~~~
      

        Attachments

          Activity

            People

            • Assignee:
              etejedor Enric Tejedor Saavedra
              Reporter:
              kgizdov Konstantin Gizdov
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: