Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
a60bd73c
Commit
a60bd73c
authored
Sep 12, 2018
by
Tiago Peixoto
Browse files
Use and require C++17
parent
41bae98c
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
a60bd73c
...
...
@@ -39,7 +39,7 @@ LT_INIT
PKG_PROG_PKG_CONFIG
PKG_INSTALLDIR
AX_CXX_COMPILE_STDCXX_1
4
([ext],[mandatory])
AX_CXX_COMPILE_STDCXX_1
7
([ext],[mandatory])
dnl turn on warnings
[CXXFLAGS="-Wall -Wextra -ftemplate-backtrace-limit=0 ${CXXFLAGS}"]
...
...
m4/ax_cxx_compile_stdcxx_1
4
.m4
→
m4/ax_cxx_compile_stdcxx_1
7
.m4
View file @
a60bd73c
# =============================================================================
# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_1
4
.html
# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_1
7
.html
# =============================================================================
#
# SYNOPSIS
#
# AX_CXX_COMPILE_STDCXX_1
4
([ext|noext], [mandatory|optional])
# AX_CXX_COMPILE_STDCXX_1
7
([ext|noext], [mandatory|optional])
#
# DESCRIPTION
#
# Check for baseline language coverage in the compiler for the C++1
4
# Check for baseline language coverage in the compiler for the C++1
7
# standard; if necessary, add switches to CXX and CXXCPP to enable
# support.
#
# This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
# macro with the version set to C++1
4
. The two optional arguments are
# macro with the version set to C++1
7
. The two optional arguments are
# forwarded literally as the second and third argument respectively.
# Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
# more information. If you want to use this macro, you also need to
...
...
@@ -22,13 +22,14 @@
# LICENSE
#
# Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
# Copyright (c) 2016 Krzesimir Nowak <qdlacz@gmail.com>
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved. This file is offered as-is, without any
# warranty.
#serial
5
#serial
2
AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])
AC_DEFUN([AX_CXX_COMPILE_STDCXX_1
4
], [AX_CXX_COMPILE_STDCXX([1
4
], [$1], [$2])])
AC_DEFUN([AX_CXX_COMPILE_STDCXX_1
7
], [AX_CXX_COMPILE_STDCXX([1
7
], [$1], [$2])])
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment