Many warning compiling under Ubuntu

Hi there,
I just finished the “hello world” C++ tutorial and during this breaf programming trip I’ve been annoyed by a lot of warning in each compilation phase.
To hide them I used some “#pragma GCC diagnostic ignored” directives “around” the includes of header files, but I wondering if these warnings are normal or if they are an issue in my environment.

Thanks to anyone who like to help me.

Which warnings are you talking about?

Thanks for reply.
It follow an example of compiling output using the C++ version of tutorial code in Panda3D manual.

In file included from /usr/include/panda3d/thread.h:192:0,
                 from /usr/include/panda3d/pipelineCyclerTrueImpl.h:27,
                 from /usr/include/panda3d/pipelineCyclerBase.h:25,
                 from /usr/include/panda3d/pipelineCycler.h:19,
                 from /usr/include/panda3d/cycleDataReader.h:21,
                 from /usr/include/panda3d/pandaNode.h:21,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/thread.I: In copy constructor 'Thread::Thread(const Thread&)':
/usr/include/panda3d/thread.I:21:8: warning: base class 'class TypedReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/thread.I:21:8: warning: base class 'class Namable' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/lightMutex.h:60:0,
                 from /usr/include/panda3d/typedWritable.h:21,
                 from /usr/include/panda3d/typedWritableReferenceCount.h:20,
                 from /usr/include/panda3d/renderAttrib.h:20,
                 from /usr/include/panda3d/renderState.h:20,
                 from /usr/include/panda3d/pandaNode.h:27,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/lightMutex.I: In copy constructor 'LightMutex::LightMutex(const LightMutex&)':
/usr/include/panda3d/lightMutex.I:72:8: warning: base class 'class LightMutexDirect' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/pmutex.h:64:0,
                 from /usr/include/panda3d/updateSeq.h:19,
                 from /usr/include/panda3d/typedWritable.h:22,
                 from /usr/include/panda3d/typedWritableReferenceCount.h:20,
                 from /usr/include/panda3d/renderAttrib.h:20,
                 from /usr/include/panda3d/renderState.h:20,
                 from /usr/include/panda3d/pandaNode.h:27,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/pmutex.I: In copy constructor 'Mutex::Mutex(const Mutex&)':
/usr/include/panda3d/pmutex.I:72:8: warning: base class 'class MutexDirect' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/typedWritable.h:121:0,
                 from /usr/include/panda3d/typedWritableReferenceCount.h:20,
                 from /usr/include/panda3d/renderAttrib.h:20,
                 from /usr/include/panda3d/renderState.h:20,
                 from /usr/include/panda3d/pandaNode.h:27,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/typedWritable.I: In copy constructor 'TypedWritable::TypedWritable(const TypedWritable&)':
/usr/include/panda3d/typedWritable.I:29:8: warning: base class 'class TypedObject' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/datagram.h:155:0,
                 from /usr/include/panda3d/netDatagram.h:23,
                 from /usr/include/panda3d/connectionManager.h:20,
                 from /usr/include/panda3d/pStatClientImpl.h:24,
                 from /usr/include/panda3d/pStatClient.h:21,
                 from /usr/include/panda3d/pStatThread.h:20,
                 from /usr/include/panda3d/pStatCollector.h:20,
                 from /usr/include/panda3d/renderAttrib.h:25,
                 from /usr/include/panda3d/renderState.h:20,
                 from /usr/include/panda3d/pandaNode.h:27,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/datagram.I: In copy constructor 'Datagram::Datagram(const Datagram&)':
/usr/include/panda3d/datagram.I:67:8: warning: base class 'class TypedObject' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/simpleLru.h:112:0,
                 from /usr/include/panda3d/geomVertexArrayData.h:32,
                 from /usr/include/panda3d/geomVertexData.h:23,
                 from /usr/include/panda3d/geom.h:28,
                 from /usr/include/panda3d/renderModeAttrib.h:21,
                 from /usr/include/panda3d/renderState.h:26,
                 from /usr/include/panda3d/pandaNode.h:27,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/simpleLru.I: In copy constructor 'SimpleLruPage::SimpleLruPage(const SimpleLruPage&)':
/usr/include/panda3d/simpleLru.I:129:8: warning: base class 'class LinkedListNode' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/factoryParam.h:59:0,
                 from /usr/include/panda3d/bamReaderParam.h:20,
                 from /usr/include/panda3d/bamReader.h:26,
                 from /usr/include/panda3d/geomVertexArrayData.h:35,
                 from /usr/include/panda3d/geomVertexData.h:23,
                 from /usr/include/panda3d/geom.h:28,
                 from /usr/include/panda3d/renderModeAttrib.h:21,
                 from /usr/include/panda3d/renderState.h:26,
                 from /usr/include/panda3d/pandaNode.h:27,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/factoryParam.I: In copy constructor 'FactoryParam::FactoryParam(const FactoryParam&)':
/usr/include/panda3d/factoryParam.I:29:8: warning: base class 'class TypedReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/geomVertexArrayData.h:322:0,
                 from /usr/include/panda3d/geomVertexData.h:23,
                 from /usr/include/panda3d/geom.h:28,
                 from /usr/include/panda3d/renderModeAttrib.h:21,
                 from /usr/include/panda3d/renderState.h:26,
                 from /usr/include/panda3d/pandaNode.h:27,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/geomVertexArrayData.I: In copy constructor 'GeomVertexArrayDataHandle::GeomVertexArrayDataHandle(const GeomVertexArrayDataHandle&)':
/usr/include/panda3d/geomVertexArrayData.I:329:8: warning: base class 'class ReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/textureStage.h:272:0,
                 from /usr/include/panda3d/geom.h:33,
                 from /usr/include/panda3d/renderModeAttrib.h:21,
                 from /usr/include/panda3d/renderState.h:26,
                 from /usr/include/panda3d/pandaNode.h:27,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/textureStage.I: In copy constructor 'TextureStage::TextureStage(TextureStage&)':
/usr/include/panda3d/textureStage.I:21:8: warning: base class 'class TypedWritableReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/texMatrixAttrib.h:138:0,
                 from /usr/include/panda3d/renderState.h:27,
                 from /usr/include/panda3d/pandaNode.h:27,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/texMatrixAttrib.I: In copy constructor 'TexMatrixAttrib::TexMatrixAttrib(const TexMatrixAttrib&)':
/usr/include/panda3d/texMatrixAttrib.I:32:8: warning: base class 'class RenderAttrib' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/nodePathComponent.h:136:0,
                 from /usr/include/panda3d/nodePath.h:28,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/nodePathComponent.I: In copy constructor 'NodePathComponent::NodePathComponent(const NodePathComponent&)':
/usr/include/panda3d/nodePathComponent.I:43:8: warning: base class 'class ReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/windowFramework.h:19:0,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/nodePath.h: At global scope:
/usr/include/panda3d/nodePath.h:660:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
In file included from /usr/include/panda3d/cullBin.h:122:0,
                 from /usr/include/panda3d/cullResult.h:19,
                 from /usr/include/panda3d/displayRegion.h:24,
                 from /usr/include/panda3d/graphicsOutput.h:21,
                 from /usr/include/panda3d/windowFramework.h:21,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/cullBin.I: In copy constructor 'CullBin::CullBin(const CullBin&)':
/usr/include/panda3d/cullBin.I:21:8: warning: base class 'class TypedReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/cullPlanes.h:81:0,
                 from /usr/include/panda3d/cullTraverserData.h:19,
                 from /usr/include/panda3d/cullableObject.h:28,
                 from /usr/include/panda3d/cullResult.h:21,
                 from /usr/include/panda3d/displayRegion.h:24,
                 from /usr/include/panda3d/graphicsOutput.h:21,
                 from /usr/include/panda3d/windowFramework.h:21,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/cullPlanes.I: In copy constructor 'CullPlanes::CullPlanes(const CullPlanes&)':
/usr/include/panda3d/cullPlanes.I:30:8: warning: base class 'class ReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/cullableObject.h:176:0,
                 from /usr/include/panda3d/cullResult.h:21,
                 from /usr/include/panda3d/displayRegion.h:24,
                 from /usr/include/panda3d/graphicsOutput.h:21,
                 from /usr/include/panda3d/windowFramework.h:21,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/cullableObject.I: In copy constructor 'CullableObject::CullableObject(const CullableObject&)':
/usr/include/panda3d/cullableObject.I:83:8: warning: base class 'class ReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/windowHandle.h:119:0,
                 from /usr/include/panda3d/windowProperties.h:21,
                 from /usr/include/panda3d/config_display.h:19,
                 from /usr/include/panda3d/displayRegion.h:33,
                 from /usr/include/panda3d/graphicsOutput.h:21,
                 from /usr/include/panda3d/windowFramework.h:21,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/windowHandle.I: In copy constructor 'WindowHandle::WindowHandle(const WindowHandle&)':
/usr/include/panda3d/windowHandle.I:30:8: warning: base class 'class TypedReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/preparedGraphicsObjects.h:24:0,
                 from /usr/include/panda3d/graphicsStateGuardian.h:23,
                 from /usr/include/panda3d/graphicsOutput.h:23,
                 from /usr/include/panda3d/windowFramework.h:21,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/shader.h: At global scope:
/usr/include/panda3d/shader.h:87:38: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/usr/include/panda3d/shader.h:88:46: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
In file included from /usr/include/panda3d/shader.h:519:0,
                 from /usr/include/panda3d/preparedGraphicsObjects.h:24,
                 from /usr/include/panda3d/graphicsStateGuardian.h:23,
                 from /usr/include/panda3d/graphicsOutput.h:23,
                 from /usr/include/panda3d/windowFramework.h:21,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/shader.I:78:18: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/usr/include/panda3d/shader.I:132:16: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
In file included from /usr/include/panda3d/light.h:148:0,
                 from /usr/include/panda3d/graphicsStateGuardian.h:36,
                 from /usr/include/panda3d/graphicsOutput.h:23,
                 from /usr/include/panda3d/windowFramework.h:21,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/light.I: In copy constructor 'Light::Light(const Light&)':
/usr/include/panda3d/light.I:57:8: warning: base class 'class ReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/textureAttrib.h:188:0,
                 from /usr/include/panda3d/graphicsStateGuardian.h:49,
                 from /usr/include/panda3d/graphicsOutput.h:23,
                 from /usr/include/panda3d/windowFramework.h:21,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/textureAttrib.I: In copy constructor 'TextureAttrib::TextureAttrib(const TextureAttrib&)':
/usr/include/panda3d/textureAttrib.I:37:8: warning: base class 'class RenderAttrib' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/texGenAttrib.h:165:0,
                 from /usr/include/panda3d/graphicsStateGuardian.h:50,
                 from /usr/include/panda3d/graphicsOutput.h:23,
                 from /usr/include/panda3d/windowFramework.h:21,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/texGenAttrib.I: In copy constructor 'TexGenAttrib::TexGenAttrib(const TexGenAttrib&)':
/usr/include/panda3d/texGenAttrib.I:37:8: warning: base class 'class RenderAttrib' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/shaderAttrib.h:172:0,
                 from /usr/include/panda3d/graphicsStateGuardian.h:51,
                 from /usr/include/panda3d/graphicsOutput.h:23,
                 from /usr/include/panda3d/windowFramework.h:21,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/shaderAttrib.I: In copy constructor 'ShaderAttrib::ShaderAttrib(const ShaderAttrib&)':
/usr/include/panda3d/shaderAttrib.I:44:8: warning: base class 'class RenderAttrib' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/partGroup.h:156:0,
                 from /usr/include/panda3d/animControl.h:22,
                 from /usr/include/panda3d/animControlCollection.h:20,
                 from /usr/include/panda3d/windowFramework.h:23,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/partGroup.I: In copy constructor 'PartGroup::PartGroup(const PartGroup&)':
/usr/include/panda3d/partGroup.I:37:8: warning: base class 'class TypedWritableReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/dataNode.h:145:0,
                 from /usr/include/panda3d/mouseInterfaceNode.h:20,
                 from /usr/include/panda3d/trackball.h:20,
                 from /usr/include/panda3d/windowFramework.h:24,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/dataNode.I: In copy constructor 'DataNode::DataNode(const DataNode&)':
/usr/include/panda3d/dataNode.I:32:8: warning: base class 'class ReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/textGlyph.h:54:0,
                 from /usr/include/panda3d/textFont.h:20,
                 from /usr/include/panda3d/config_text.h:26,
                 from /usr/include/panda3d/textNode.h:20,
                 from /usr/include/panda3d/frameRateMeter.h:19,
                 from /usr/include/panda3d/windowFramework.h:26,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/textGlyph.I: In copy constructor 'TextGlyph::TextGlyph(const TextGlyph&)':
/usr/include/panda3d/textGlyph.I:52:8: warning: base class 'class ReferenceCount' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/recorderTable.h:82:0,
                 from /usr/include/panda3d/recorderController.h:21,
                 from /usr/include/panda3d/pandaFramework.h:27,
                 from main.cpp:13:
/usr/include/panda3d/recorderTable.I: In copy constructor 'RecorderTable::RecorderTable(const RecorderTable&)':
/usr/include/panda3d/recorderTable.I:31:8: warning: base class 'class TypedWritable' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/recorderHeader.h:69:0,
                 from /usr/include/panda3d/recorderController.h:22,
                 from /usr/include/panda3d/pandaFramework.h:27,
                 from main.cpp:13:
/usr/include/panda3d/recorderHeader.I: In copy constructor 'RecorderHeader::RecorderHeader(const RecorderHeader&)':
/usr/include/panda3d/recorderHeader.I:32:8: warning: base class 'class TypedWritable' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/pointerToBase.h:64:0,
                 from /usr/include/panda3d/pointerTo.h:69,
                 from /usr/include/panda3d/pipelineCyclerTrueImpl.h:25,
                 from /usr/include/panda3d/pipelineCyclerBase.h:25,
                 from /usr/include/panda3d/pipelineCycler.h:19,
                 from /usr/include/panda3d/cycleDataReader.h:21,
                 from /usr/include/panda3d/pandaNode.h:21,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = CycleData]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = CycleData]'
/usr/include/panda3d/pipelineCyclerTrueImpl.I:460:46:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/nodePointerToBase.h:64:0,
                 from /usr/include/panda3d/nodePointerTo.h:19,
                 from /usr/include/panda3d/pipelineCyclerTrueImpl.h:26,
                 from /usr/include/panda3d/pipelineCyclerBase.h:25,
                 from /usr/include/panda3d/pipelineCycler.h:19,
                 from /usr/include/panda3d/cycleDataReader.h:21,
                 from /usr/include/panda3d/pandaNode.h:21,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/nodePointerToBase.I: In copy constructor 'NodePointerToBase<T>::NodePointerToBase(const NodePointerToBase<T>&) [with T = CycleData]':
/usr/include/panda3d/nodePointerTo.I:37:58:   instantiated from 'NodePointerTo<T>::NodePointerTo(const NodePointerTo<T>&) [with T = CycleData]'
/usr/include/panda3d/pipelineCyclerTrueImpl.I:534:24:   instantiated from here
/usr/include/panda3d/nodePointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
In file included from /usr/include/panda3d/pointerToBase.h:64:0,
                 from /usr/include/panda3d/pointerTo.h:69,
                 from /usr/include/panda3d/pipelineCyclerTrueImpl.h:25,
                 from /usr/include/panda3d/pipelineCyclerBase.h:25,
                 from /usr/include/panda3d/pipelineCycler.h:19,
                 from /usr/include/panda3d/cycleDataReader.h:21,
                 from /usr/include/panda3d/pandaNode.h:21,
                 from /usr/include/panda3d/nodePath.h:23,
                 from /usr/include/panda3d/windowFramework.h:19,
                 from /usr/include/panda3d/pandaFramework.h:20,
                 from main.cpp:13:
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = RenderAttrib]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = RenderAttrib]'
/usr/include/panda3d/renderAttrib.I:28:28:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = InternalName]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = InternalName]'
/usr/include/panda3d/internalName.I:32:33:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = GeomVertexArrayFormat]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = GeomVertexArrayFormat]'
/usr/include/panda3d/geomVertexArrayFormat.I:45:73:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = GeomVertexFormat]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = GeomVertexFormat]'
/usr/include/panda3d/geomVertexFormat.I:52:68:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = FileReference]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = FileReference]'
/usr/include/panda3d/subfileInfo.I:63:19:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = GeomVertexArrayDataHandle]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = GeomVertexArrayDataHandle]'
/usr/include/panda3d/geomVertexArrayData.I:170:54:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = TransformTable]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = TransformTable]'
/usr/include/panda3d/transformTable.I:53:12:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = SliderTable]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = SliderTable]'
/usr/include/panda3d/sliderTable.I:53:12:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = GeomVertexArrayData]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = GeomVertexArrayData]'
/usr/include/panda3d/geomVertexData.I:186:3:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = TransformBlendTable]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = TransformBlendTable]'
/usr/include/panda3d/geomVertexData.I:279:57:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = GeomVertexData]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = GeomVertexData]'
/usr/include/panda3d/geomVertexData.I:441:23:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = GeomMunger]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = GeomMunger]'
/usr/include/panda3d/geomMunger.I:57:64:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = GeomPrimitive]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = GeomPrimitive]'
/usr/include/panda3d/geom.I:126:3:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = Geom]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = Geom]'
/usr/include/panda3d/geom.I:162:33:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = BoundingVolume]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = BoundingVolume]'
/usr/include/panda3d/geom.I:569:33:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = TypedWritableReferenceCount]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = TypedWritableReferenceCount]'
/usr/include/panda3d/eventParameter.I:108:62:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = TransformState]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = TransformState]'
/usr/include/panda3d/transformState.I:61:56:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = RenderState]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = RenderState]'
/usr/include/panda3d/renderState.I:65:28:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = RenderEffect]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = RenderEffect]'
/usr/include/panda3d/renderEffects.I:62:23:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = CopyOnWriteObj1<ov_set<PandaNode::UpConnection>, TypeHandle>]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = CopyOnWriteObj1<ov_set<PandaNode::UpConnection>, TypeHandle>]'
/usr/include/panda3d/pandaNode.I:42:30:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = CopyOnWriteObj1<ov_multiset<PandaNode::DownConnection>, TypeHandle>]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = CopyOnWriteObj1<ov_multiset<PandaNode::DownConnection>, TypeHandle>]'
/usr/include/panda3d/pandaNode.I:84:36:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = NodePathComponent]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = NodePathComponent]'
/usr/include/panda3d/nodePathComponent.I:34:23:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = CopyOnWriteObj<pvector<GeomNode::GeomEntry> >]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = CopyOnWriteObj<pvector<GeomNode::GeomEntry> >]'
/usr/include/panda3d/geomNode.I:63:42:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = PandaNode]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = PandaNode]'
/usr/include/panda3d/workingNodePath.I:41:19:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = CullPlanes]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = CullPlanes]'
/usr/include/panda3d/cullTraverserData.I:32:32:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = GeometricBoundingVolume]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = GeometricBoundingVolume]'
/usr/include/panda3d/cullTraverserData.I:52:35:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = WindowHandle:]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = WindowHandle:]'
/usr/include/panda3d/windowHandle.I:31:68:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = CullResult]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = CullResult]'
/usr/include/panda3d/displayRegion.I:532:33:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = SceneSetup]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = SceneSetup]'
/usr/include/panda3d/displayRegion.I:532:33:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = Texture]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = Texture]'
/usr/include/panda3d/texture.I:32:36:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = GeomNode]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = GeomNode]'
/usr/include/panda3d/light.I:37:39:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = AsyncTaskChain]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = AsyncTaskChain]'
/usr/include/panda3d/loader.I:164:72:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = Shader]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = Shader]'
/usr/include/panda3d/shaderAttrib.I:58:23:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = TextAssembler::ComputedProperties]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = TextAssembler::ComputedProperties]'
/usr/include/panda3d/textAssembler.I:422:23:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = GenericAsyncTask]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = GenericAsyncTask]'
/usr/include/panda3d/pandaFramework.I:27:81:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = AsyncTaskManager]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = AsyncTaskManager]'
main.cpp:26:67:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = ClockObject]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = ClockObject]'
main.cpp:28:63:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = ReferenceCountedVector<unsigned char>]':
/usr/include/panda3d/pointerToArrayBase.I:158:55:   instantiated from 'PointerToArrayBase<Element>::PointerToArrayBase(const PointerToArrayBase<Element>&) [with Element = unsigned char]'
/usr/include/panda3d/pointerToArray.I:76:33:   instantiated from 'PointerToArray<Element>::PointerToArray(const PointerToArray<Element>&) [with Element = unsigned char]'
/usr/include/panda3d/datagram.I:70:41:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = ReferenceCountedVector<BitMask<long long unsigned int, 64> >]':
/usr/include/panda3d/pointerToArrayBase.I:158:55:   instantiated from 'PointerToArrayBase<Element>::PointerToArrayBase(const PointerToArrayBase<Element>&) [with Element = BitMask<long long unsigned int, 64>]'
/usr/include/panda3d/pointerToArray.I:76:33:   instantiated from 'PointerToArray<Element>::PointerToArray(const PointerToArray<Element>&) [with Element = BitMask<long long unsigned int, 64>]'
/usr/include/panda3d/bitArray.I:47:35:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = ReferenceCountedVector<int>]':
/usr/include/panda3d/pointerToArrayBase.I:158:55:   instantiated from 'PointerToArrayBase<Element>::PointerToArrayBase(const PointerToArrayBase<Element>&) [with Element = int]'
/usr/include/panda3d/pointerToArray.I:792:33:   instantiated from 'ConstPointerToArray<Element>::ConstPointerToArray(const PointerToArray<Element>&) [with Element = int]'
/usr/include/panda3d/geomPrimitive.I:333:17:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = ReferenceCountedVector<float>]':
/usr/include/panda3d/pointerToArrayBase.I:158:55:   instantiated from 'PointerToArrayBase<Element>::PointerToArrayBase(const PointerToArrayBase<Element>&) [with Element = float]'
/usr/include/panda3d/pointerToArray.I:76:33:   instantiated from 'PointerToArray<Element>::PointerToArray(const PointerToArray<Element>&) [with Element = float]'
/usr/include/panda3d/shader.I:281:43:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = ReferenceCountedVector<double>]':
/usr/include/panda3d/pointerToArrayBase.I:158:55:   instantiated from 'PointerToArrayBase<Element>::PointerToArrayBase(const PointerToArrayBase<Element>&) [with Element = double]'
/usr/include/panda3d/pointerToArray.I:76:33:   instantiated from 'PointerToArray<Element>::PointerToArray(const PointerToArray<Element>&) [with Element = double]'
/usr/include/panda3d/shader.I:461:45:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = VertexTransform]':
/usr/include/panda3d/pointerTo.I:165:50:   instantiated from 'ConstPointerTo<T>::ConstPointerTo(const ConstPointerTo<T>&) [with T = VertexTransform]'
/usr/include/panda3d/transformBlend.h:95:9:   instantiated from 'void __gnu_cxx::new_allocator<_Tp>::construct(__gnu_cxx::new_allocator<_Tp>::pointer, const _Tp&) [with _Tp = TransformBlend::TransformEntry, __gnu_cxx::new_allocator<_Tp>::pointer = TransformBlend::TransformEntry*]'
/usr/include/c++/4.6/bits/stl_uninitialized.h:245:6:   instantiated from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = TransformBlend::TransformEntry*, _ForwardIterator = TransformBlend::TransformEntry*, _Allocator = pallocator_array<TransformBlend::TransformEntry>]'
/usr/include/c++/4.6/bits/vector.tcc:188:8:   instantiated from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = TransformBlend::TransformEntry, _Alloc = pallocator_array<TransformBlend::TransformEntry>]'
/usr/include/panda3d/pvector.h:39:7:   instantiated from 'ordered_vector<Key, Compare>& ordered_vector<Key, Compare>::operator=(const ordered_vector<Key, Compare>&) [with Key = TransformBlend::TransformEntry, Compare = std::less<TransformBlend::TransformEntry>]'
/usr/include/panda3d/ordered_vector.I:771:3:   instantiated from 'ov_set<Key, Compare>& ov_set<Key, Compare>::operator=(const ov_set<Key, Compare>&) [with Key = TransformBlend::TransformEntry, Compare = std::less<TransformBlend::TransformEntry>]'
/usr/include/panda3d/transformBlend.I:98:19:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = TextureStage]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = TextureStage]'
/usr/include/panda3d/texMatrixAttrib.h:80:9:   instantiated from 'void __gnu_cxx::new_allocator<_Tp>::construct(__gnu_cxx::new_allocator<_Tp>::pointer, const _Tp&) [with _Tp = TexMatrixAttrib::StageNode, __gnu_cxx::new_allocator<_Tp>::pointer = TexMatrixAttrib::StageNode*]'
/usr/include/c++/4.6/bits/stl_uninitialized.h:245:6:   instantiated from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = __gnu_cxx::__normal_iterator<const TexMatrixAttrib::StageNode*, std::vector<TexMatrixAttrib::StageNode, pallocator_array<TexMatrixAttrib::StageNode> > >, _ForwardIterator = TexMatrixAttrib::StageNode*, _Allocator = pallocator_array<TexMatrixAttrib::StageNode>]'
/usr/include/c++/4.6/bits/stl_vector.h:280:9:   instantiated from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = TexMatrixAttrib::StageNode, _Alloc = pallocator_array<TexMatrixAttrib::StageNode>, std::vector<_Tp, _Alloc> = std::vector<TexMatrixAttrib::StageNode, pallocator_array<TexMatrixAttrib::StageNode> >]'
/usr/include/panda3d/pvector.h:46:55:   instantiated from 'pvector<Type>::pvector(const pvector<Type>&) [with Type = TexMatrixAttrib::StageNode]'
/usr/include/panda3d/ordered_vector.I:51:23:   instantiated from 'ordered_vector<Key, Compare>::ordered_vector(const ordered_vector<Key, Compare>&) [with Key = TexMatrixAttrib::StageNode, Compare = TexMatrixAttrib::CompareTextureStagePointer]'
/usr/include/panda3d/ordered_vector.I:759:36:   instantiated from 'ov_set<Key, Compare>::ov_set(const ov_set<Key, Compare>&) [with Key = TexMatrixAttrib::StageNode, Compare = TexMatrixAttrib::CompareTextureStagePointer]'
/usr/include/panda3d/texMatrixAttrib.I:34:23:   instantiated from here
/usr/include/panda3d/pointerToBase.I:33:8: warning: base class 'class PointerToVoid' should be explicitly initialized in the copy constructor [-Wextra]
/usr/include/panda3d/pointerToBase.I: In copy constructor 'PointerToBase<T>::PointerToBase(const PointerToBase<T>&) [with T = BoundingPlane]':
/usr/include/panda3d/pointerTo.I:34:50:   instantiated from 'PointerTo<T>::PointerTo(const PointerTo<T>&) [with T = BoundingPlane]'
/usr/include/c++/4.6/bits/stl_pair.h:87:12:   instantiated from 'void __gnu_cxx::new_allocator<_Tp>::construct(__gnu_cxx::new_allocator<_Tp>::pointer, const _Tp&) [with _Tp = std::pair<const NodePath, PointerTo<BoundingPlane> >, __gnu_cxx::new_allocator<_Tp>::pointer = std::pair<const NodePath, PointerTo<BoundingPlane> >*]'
/usr/include/c++/4.6/bits/stl_tree.h:381:6:   instantiated from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(const value_type&) [with _Key = NodePath, _Val = std::pair<const NodePath, PointerTo<BoundingPlane> >, _KeyOfValue = std::_Select1st<std::pair<const NodePath, PointerTo<BoundingPlane> > >, _Compare = std::less<NodePath>, _Alloc = pallocator_single<std::pair<const NodePath, PointerTo<BoundingPlane> > >, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const NodePath, PointerTo<BoundingPlane> > >*, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::value_type = std::pair<const NodePath, PointerTo<BoundingPlane> >]'
/usr/include/c++/4.6/bits/stl_tree.h:427:55:   instantiated from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_clone_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = NodePath, _Val = std::pair<const NodePath, PointerTo<BoundingPlane> >, _KeyOfValue = std::_Select1st<std::pair<const NodePath, PointerTo<BoundingPlane> > >, _Compare = std::less<NodePath>, _Alloc = pallocator_single<std::pair<const NodePath, PointerTo<BoundingPlane> > >, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const NodePath, PointerTo<BoundingPlane> > >*, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<std::pair<const NodePath, PointerTo<BoundingPlane> > >*]'
...

Due to post character limit this is only a section of all warning messages.
To avoid them I have to include some header files in thsi way:

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wextra"
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#include "pandaFramework.h"
#include "pandaSystem.h"

#pragma GCC diagnostic pop

Any idea?

I’ve never seen those warnings before. You must be compiling with extra warning messaging. They are harmless, though, and can be ignored. I’ll see if I can’t eliminate some of them in a future Panda release.

I agree: my code compiles and executes without any problem (except lot of warning of course).
I just thought it was a strange situation and wondered if it was something wrong in my environment. In any case I’ll continue working with
Glad if this can be considered useful to know for Panda3D developement.

Thank you anyway for all your work. :slight_smile:

I took a brief look and I will be checking in fixes for some of the warnings, but not most of them. In most of the -Wextra cases, the compiler is just being overly pedantic and fixing these warnings would be more trouble than it’s worth. The problem with using -Wextra is that the flood of useless warnings drowns out the warnings that are actually useful, so I would suggest compiling without -Wextra indeed.