compiler warnings Master Kubuntu 20.04

Having trouble installing or compiling FreeCAD? Get help here.
jmaustpc
Posts: 11066
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

compiler warnings Master Kubuntu 20.04

Postby jmaustpc » Tue May 04, 2021 11:57 am

Hi Guys, I compiled FreeCAD from master again today and I notice the following warning.

[ 63%] Built target PointsGui
[ 63%] Linking CXX shared library ../../../../Mod/Image/ImageGui.so
[ 63%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/AttachExtension.cpp.o
In file included from /home/user1/freecad_dev/freecad-source/src/Mod/Part/App/PrimitiveFeature.cpp:66:
/home/user1/freecad_dev/freecad-source/src/App/FeaturePythonPyImp.h:59:5: warning: missing initializer for member ‘_typeobject::tp_print’ [-Wmissing-field-initializers]
59 | }; \
| ^
/home/user1/freecad_dev/freecad-source/src/Mod/Part/App/PrimitiveFeature.cpp:117:5: note: in expansion of macro ‘PYTHON_TYPE_IMP’
117 | PYTHON_TYPE_IMP(PrimitivePy, PartFeaturePy)
| ^~~~~~~~~~~~~~~
[ 63%] Automatic MOC for target MeshGui
[ 63%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/PrismExtension.cpp.o
[ 63%] Built target MeshGui_autogen

Jim

OS: Ubuntu 20.04.2 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.24828 (Git)
Build type: Unknown
Branch: master
Hash: f4f1b0bc3f7dd8d5025c5968f53a66d4a2482639
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/Australia (en_AU)