From b7dac93ce9f0763e8a0e593c653786e32d5405a2 Mon Sep 17 00:00:00 2001 From: Robin Voetter Date: Thu, 11 Nov 2021 15:11:15 +0100 Subject: [PATCH] Bump c++ version to c++20 --- README.md | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ee65f19..647241a 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ The frontend of the project consists of `src/compiler/frontend.fut` and all the ## Building Building Pareas requires the following dependencies: -* A C++17-capable compiler such as clang or gcc. +* A C++20-capable compiler such as clang or gcc. * The [Meson](https://mesonbuild.com/) build system. * [Ninja](https://ninja-build.org) or [Samurai](https://github.com/michaelforney/samurai) to build. * A [Futhark](https://github.com/diku-dk/futhark) compiler. The latest tested version is 20.6. diff --git a/meson.build b/meson.build index 26ec3b3..de62556 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project( ['c', 'cpp'], version: '0.0.0', default_options: [ - 'cpp_std=c++17', + 'cpp_std=c++2a', 'buildtype=debugoptimized', ] )