Skip to content

Commit

Permalink
Merge pull request #149 from missirol/master
Browse files Browse the repository at this point in the history
update to c++17 standard in all compiler calls
  • Loading branch information
Negusbuk authored Jun 14, 2019
2 parents 62abf6f + 6504709 commit 0fb0e91
Show file tree
Hide file tree
Showing 30 changed files with 44 additions and 43 deletions.
2 changes: 1 addition & 1 deletion assembly/assembly/assembly.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PKGCONFIG += opencv

QMAKE = @qmake@

QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
}
Expand Down
2 changes: 1 addition & 1 deletion assembly/assemblyCommon/assemblyCommon.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PKGCONFIG += opencv

QMAKE = @qmake@

QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++17

macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
Expand Down
2 changes: 1 addition & 1 deletion assembly/motion/motionCommander/motionCommander.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PKGCONFIG += opencv

QMAKE = @qmake@

QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
}
Expand Down
2 changes: 1 addition & 1 deletion assembly/testingArea/Testing/Testing.pro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ macx {
CONFIG += link_pkgconfig
PKGCONFIG += opencv

QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
}
Expand Down
2 changes: 1 addition & 1 deletion assembly/vision/circleCalibration/circleCalibration.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PKGCONFIG += opencv

QMAKE = @qmake@

QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
}
Expand Down
4 changes: 2 additions & 2 deletions common_test/common_test.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ macx {
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
}

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
} else {
Expand Down
4 changes: 2 additions & 2 deletions defo/defoCalib/defoCalib.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ macx {
CONFIG += link_pkgconfig
PKGCONFIG += opencv exiv2 libgphoto2

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
} else {
Expand Down
4 changes: 2 additions & 2 deletions defo/defoCommon/defoCommon.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ macx {
CONFIG += link_pkgconfig
PKGCONFIG += opencv exiv2 libgphoto2

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
} else {
Expand Down
4 changes: 2 additions & 2 deletions defo/defoDAQ/defoDAQ.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ macx {
CONFIG += link_pkgconfig
PKGCONFIG += opencv exiv2 libgphoto2

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
} else {
Expand Down
4 changes: 2 additions & 2 deletions defo/defoDAQ2Root/defoDAQ2Root.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ LIBS += @rootlibs@

QMAKE = @qmake@

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
} else {
Expand Down
4 changes: 2 additions & 2 deletions defo/defoDisplay/defoDisplay.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ macx {
LIBS += -framework Cocoa
}

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
} else {
Expand Down
4 changes: 2 additions & 2 deletions defo/defoReco/defoReco.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ macx {
CONFIG += link_pkgconfig
PKGCONFIG += opencv exiv2 libgphoto2

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
} else {
Expand Down
2 changes: 1 addition & 1 deletion devices/Makefile.common.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CC = @cc@
CXX = @cxx@
CXXFLAGS = -fPIC -std=c++11
CXXFLAGS = -fPIC -std=c++17
LD = @cxx@
SOFLAGS = @soflags@

Expand Down
2 changes: 1 addition & 1 deletion external/math/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MODULES = TkMLVector \

CC = @cc@
CXX = @cxx@
CXXFLAGS = -fPIC -std=c++11 -I.
CXXFLAGS = -fPIC -std=c++17 -I.
LD = @cxx@
SOFLAGS = @soflags@

Expand Down
2 changes: 1 addition & 1 deletion plasma/plasmacleaner.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ macx {
CONFIG += link_pkgconfig
PKGCONFIG +=

QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
}
Expand Down
2 changes: 1 addition & 1 deletion pumpstation/analysis/PumpStationAnalysis.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ macx {
CONFIG += link_pkgconfig
PKGCONFIG +=

QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
}
Expand Down
2 changes: 1 addition & 1 deletion pumpstation/app/CMSPumpStationControl.pro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ win32 {
CONFIG += link_pkgconfig
PKGCONFIG +=

QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++17

QT += core gui network script svg
greaterThan(QT_MAJOR_VERSION, 4) {
Expand Down
2 changes: 1 addition & 1 deletion pumpstation/controller/PumpStationControl.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ macx {
CONFIG += link_pkgconfig
PKGCONFIG +=

QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
}
Expand Down
1 change: 1 addition & 0 deletions pumpstation/daemon/DataLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <QFile>
#include <QMutex>
#include <QTimer>
#include <QDir>
#include <QDateTime>
#include <QXmlStreamWriter>
#include <QSocketNotifier>
Expand Down
2 changes: 1 addition & 1 deletion pumpstation/daemon/PumpStationDaemon.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ macx {
CONFIG += link_pkgconfig
PKGCONFIG +=

QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
}
Expand Down
2 changes: 1 addition & 1 deletion python/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PYTHONINC := $(shell python-config --cflags)

CC = @cc@
CXX = @cxx@
CXXFLAGS = -fPIC -std=c++11
CXXFLAGS = -fPIC -std=c++17
LD = @cxx@
SOFLAGS = @soflags@

Expand Down
4 changes: 2 additions & 2 deletions thermo/microDAQ/microDAQ.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ macx {
#LIBS += -framework Cocoa
}

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17

macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
Expand Down
4 changes: 2 additions & 2 deletions thermo/microDisplay/microDisplay.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ macx {
#LIBS += -framework Cocoa
}

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
} else {
Expand Down
4 changes: 2 additions & 2 deletions thermo/thermoDAQ/thermoDAQ.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ macx {
#LIBS += -framework Cocoa
}

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17

macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
Expand Down
4 changes: 2 additions & 2 deletions thermo/thermoDAQ2Log/thermoDAQ2Log.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

QMAKE = @qmake@

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
} else {
Expand Down
4 changes: 2 additions & 2 deletions thermo/thermoDAQ2Plots/thermoDAQ2Plots.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ macx {
#LIBS += -framework Cocoa
}

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
} else {
Expand Down
4 changes: 2 additions & 2 deletions thermo/thermoDAQ2Root/thermoDAQ2Root.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ LIBS += @rootlibs@

QMAKE = @qmake@

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17
macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
} else {
Expand Down
4 changes: 2 additions & 2 deletions thermo/thermoDisplay/thermoDisplay.pro.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ macx {
#LIBS += -framework Cocoa
}

CONFIG+=c++11
QMAKE_CXXFLAGS += -std=c++11
CONFIG+=c++17
QMAKE_CXXFLAGS += -std=c++17

macx {
QMAKE_CXXFLAGS += -DAPPLICATIONVERSIONSTR=\\\"unknown\\\"
Expand Down
2 changes: 1 addition & 1 deletion tools/ReadKeithley2700/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SOURCE = ReadKeithley2700

ARCHITECTURE := @architecture@

CXXFLAGS = -Wall -fPIC -std=c++0x -I$(BASEPATH)/devices/Keithley
CXXFLAGS = -Wall -fPIC -std=c++17 -I$(BASEPATH)/devices/Keithley

ifeq ($(USEFAKEDEVICES),1)
CXXFLAGS += -DUSE_FAKEIO
Expand Down
2 changes: 1 addition & 1 deletion tools/TkModLabRoot/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ endif

CC = @cc@
CXX = @cxx@
CXXFLAGS = -fPIC -std=c++11
CXXFLAGS = -fPIC -std=c++17
LD = @cxx@
SOFLAGS = @soflags@

Expand Down

0 comments on commit 0fb0e91

Please sign in to comment.