core system

force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
This commit is contained in:
wmayer
2019-09-18 01:01:14 +02:00
parent f4bc889b4d
commit b50b21576e
88 changed files with 466 additions and 463 deletions

View File

@@ -28,7 +28,7 @@
using namespace Gui;
SO_ELEMENT_SOURCE(SoFCInteractiveElement);
SO_ELEMENT_SOURCE(SoFCInteractiveElement)
void SoFCInteractiveElement::initClass(void)
{
@@ -69,7 +69,7 @@ const SoFCInteractiveElement * SoFCInteractiveElement::getInstance(SoState * sta
// ---------------------------------
SO_ELEMENT_SOURCE(SoGLWidgetElement);
SO_ELEMENT_SOURCE(SoGLWidgetElement)
void SoGLWidgetElement::initClass(void)
{
@@ -124,7 +124,7 @@ SoElement * SoGLWidgetElement::copyMatchInfo(void) const
// ---------------------------------
SO_ELEMENT_SOURCE(SoGLRenderActionElement);
SO_ELEMENT_SOURCE(SoGLRenderActionElement)
void SoGLRenderActionElement::initClass(void)
{
@@ -179,7 +179,7 @@ SoElement * SoGLRenderActionElement::copyMatchInfo(void) const
// ---------------------------------
SO_NODE_SOURCE(SoGLWidgetNode);
SO_NODE_SOURCE(SoGLWidgetNode)
/*!
Constructor.
@@ -218,7 +218,7 @@ void SoGLWidgetNode::GLRender(SoGLRenderAction * action)
// ---------------------------------
SO_ELEMENT_SOURCE(SoGLVBOActivatedElement);
SO_ELEMENT_SOURCE(SoGLVBOActivatedElement)
void SoGLVBOActivatedElement::initClass(void)
{