View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0004231 | ParaView | (No Category) | public | 2006-12-19 14:19 | 2009-12-09 21:55 | ||||
Reporter | Orion Poplawski | ||||||||
Assigned To | Berk Geveci | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004231: Compile error with python 2.5 | ||||||||
Description | Compiling paraview 2.4.4 again python 2.5 yields the following error: [ 18%] Building CXX object Utilities/VTKPythonWrapping/CMakeFiles/vtkCommonPython.dir/__/__/__/VTK/Common/vtkPythonUtil.o /usr/bin/g++ -DvtkCommonPython_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -Wno-deprecated -fPIC -I/builddir/build/BUILD/paraview-2.4.4/Utilities/VTKPythonWrapping -I/builddir/build/BUILD/paraview-2.4.4/fedora -I/builddir/build/BUILD/paraview-2.4.4/fedora/VTK/Utilities -I/builddir/build/BUILD/paraview-2.4.4/VTK/Wrapping -I/builddir/build/BUILD/paraview-2.4.4/VTK -I/builddir/build/BUILD/paraview-2.4.4/fedora/VTK -I/builddir/build/BUILD/paraview-2.4.4/VTK/Common -I/builddir/build/BUILD/paraview-2.4.4/VTK/Filtering -I/builddir/build/BUILD/paraview-2.4.4/fedora/VTK/Rendering -I/usr/include/python2.5 -DVTK_PYTHON_BUILD -o Utilities/VTKPythonWrapping/CMakeFiles/vtkCommonPython.dir/__/__/__/VTK/Common/vtkPythonUtil.o -c /builddir/build/BUILD/paraview-2.4.4/VTK/Common/vtkPythonUtil.cxx /builddir/build/BUILD/paraview-2.4.4/VTK/Common/vtkPythonUtil.cxx: In function 'PyObject* PyVTKClassMetaType_GetAttr(PyTypeObject*, char*)': /builddir/build/BUILD/paraview-2.4.4/VTK/Common/vtkPythonUtil.cxx:771: error: invalid conversion from 'const char*' to 'char*' /builddir/build/BUILD/paraview-2.4.4/VTK/Common/vtkPythonUtil.cxx: In function 'PyObject* vtkPythonGetObjectFromObject(PyObject*, const char*)': /builddir/build/BUILD/paraview-2.4.4/VTK/Common/vtkPythonUtil.cxx:1543: warning: dereferencing type-punned pointer will break strict-aliasing rules /builddir/build/BUILD/paraview-2.4.4/VTK/Common/vtkPythonUtil.cxx:1547: warning: dereferencing type-punned pointer will break strict-aliasing rules /builddir/build/BUILD/paraview-2.4.4/VTK/Common/vtkPythonUtil.cxx:1551: warning: dereferencing type-punned pointer will break strict-aliasing rules /builddir/build/BUILD/paraview-2.4.4/VTK/Common/vtkPythonUtil.cxx: In function 'void* vtkPythonUnmanglePointer(char*, int*, const char*)': /builddir/build/BUILD/paraview-2.4.4/VTK/Common/vtkPythonUtil.cxx:1594: warning: dereferencing type-punned pointer will break strict-aliasing rules make[2]: *** [Utilities/VTKPythonWrapping/CMakeFiles/vtkCommonPython.dir/__/__/__/VTK/Common/vtkPythonUtil.o] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/paraview-2.4.4/fedora' make[1]: *** [Utilities/VTKPythonWrapping/CMakeFiles/vtkCommonPython.dir/all] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/paraview-2.4.4/fedora' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.21547 (%build) The attached patch fixes, but is a hack. Better typing elsewhere would probably fix. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Topic Name | |||||||||
Type | |||||||||
Attached Files | paraview-2.4.4-const.patch [^] (381 bytes) 1969-12-31 19:00 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
There are no notes attached to this issue. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-12-09 14:51 | Berk Geveci | Project | @3@ => ParaView |
2009-12-09 21:55 | Berk Geveci | Status | tabled => closed |
2009-12-09 21:55 | Berk Geveci | Resolution | open => fixed |
2011-06-16 13:10 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |