aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-03-29 13:44:17 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-03-29 13:44:17 +0200
commitefea1c485f178cdbadf5babdf7951e6d1a1ed801 (patch)
treea0377106af4fdaa7d246f5024caf6f6442762f1c
parentd7fe3627a5f5ac1376af09a851d59c5c7919f29e (diff)
downloaddabmod-efea1c485f178cdbadf5babdf7951e6d1a1ed801.tar.gz
dabmod-efea1c485f178cdbadf5babdf7951e6d1a1ed801.tar.bz2
dabmod-efea1c485f178cdbadf5babdf7951e6d1a1ed801.zip
Move to C++17
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index fe566bb..0e09236 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
# Copyright (C) 2007, 2008, 2009, 2010 Her Majesty the Queen in Right
# of Canada (Communications Research Center Canada)
#
-# Copyright (C) 2018
+# Copyright (C) 2023
# Matthias P. Braendli, matthias.braendli@mpb.li
#
# http://opendigitalradio.org
@@ -37,7 +37,7 @@ bin_PROGRAMS = odr-dabmod
odr_dabmod_CFLAGS = -Wall -Isrc -Ilib \
$(GITVERSION_FLAGS)
-odr_dabmod_CXXFLAGS = -Wall -Isrc -Ilib -std=c++11 \
+odr_dabmod_CXXFLAGS = -Wall -Isrc -Ilib \
$(GITVERSION_FLAGS) $(BOOST_CPPFLAGS)
odr_dabmod_LDADD = $(BOOST_LDFLAGS) $(BOOST_THREAD_LIB) $(UHD_LIBS) $(LIMESDR_LIBS) $(ADDITIONAL_UHD_LIBS)
odr_dabmod_SOURCES = src/DabMod.cpp \
diff --git a/configure.ac b/configure.ac
index 59ee4e5..ba5d65a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Her Majesty the
# Queen in Right of Canada (Communications Research Center Canada)
-# Copyright (C) 2022 Matthias P. Braendli, http://opendigitalradio.org
+# Copyright (C) 2023 Matthias P. Braendli, http://opendigitalradio.org
# This file is part of ODR-DabMod.
#
@@ -34,7 +34,7 @@ AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_INSTALL
-AX_CXX_COMPILE_STDCXX(11,noext,mandatory)
+AX_CXX_COMPILE_STDCXX(17,noext,mandatory)
EXTRA=""
AC_ARG_ENABLE([prof],