handle some more warnings: -Wkeyword-macro -Wdeprecated-declarations -Wextra-semi

This commit is contained in:
wmayer
2019-11-18 11:56:08 +01:00
parent a5019828cf
commit 71dae0e639
10 changed files with 161 additions and 138 deletions

View File

@@ -28,6 +28,10 @@
#ifndef _PreComp_
# include <Python.h>
# include <climits>
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wextra-semi"
#endif
# include <Standard_Version.hxx>
# include <NCollection_Vector.hxx>
# include <TDocStd_Document.hxx>
@@ -51,6 +55,9 @@
# include <XSControl_TransferReader.hxx>
# include <APIHeaderSection_MakeHeader.hxx>
# include <OSD_Exception.hxx>
#if defined(__clang__)
# pragma clang diagnostic pop
#endif
#endif
#include <CXX/Extensions.hxx>