diff --git a/Three/include/CGAL/Three/Viewer_interface.h b/Three/include/CGAL/Three/Viewer_interface.h index 8df31c7265a..9405a88d8b7 100644 --- a/Three/include/CGAL/Three/Viewer_interface.h +++ b/Three/include/CGAL/Three/Viewer_interface.h @@ -32,6 +32,11 @@ class QOpenGLFramebufferObject; class TextRenderer; class TextListItem; +#ifdef __GNUC__ +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wsfinae-incomplete" +#endif + //! \file Viewer_interface.h #include // for VIEWER_EXPORT namespace CGAL{ @@ -293,4 +298,8 @@ public Q_SLOTS: }; // end class Viewer_interface } } +#ifdef __GNUC__ +# pragma GCC diagnostic pop +#endif + #endif // VIEWER_INTERFACE_H