Some build fixes to enable basic compilation on CentOS6

This commit is contained in:
Matthias Koefferlein
2021-01-24 17:37:46 +00:00
parent ad904d3fa1
commit 245bf93429
5 changed files with 28 additions and 5 deletions
-1
View File
@@ -44,7 +44,6 @@
#include "pyaRefs.h"
#include "dbPolygon.h"
static PyObject *BridgeError;
static PyObject *
@@ -88,10 +88,14 @@ LIBS += -L$$LIBDIR -lklayout_db
-Wno-deprecated-declarations \
-Wno-reserved-user-defined-literal \
# because we use unordered_map/unordered_set:
QMAKE_CXXFLAGS += -std=c++0x
# Python is somewhat sloppy and relies on the compiler initializing fields
# of strucs to 0:
QMAKE_CXXFLAGS_WARN_ON += \
-Wno-missing-field-initializers
} else {
# disable some warnings