What's the latest on using C++17?

Hi Max,
Thanks for that rapid reply. Unfortunately, I did not experience success with those changes. I made a smaller test case and I got a few namespace errors indicating to me that it was still not using c+17

namespace “std” has no member “variant”
namespace “std” has no member “visit”

just a bit of the code… for that first namespace error:

#include <iostream>

#include <typeinfo>

#include <variant>

using AT = double;

using PT = unsigned long long;

using R = std::variant<AT, PT>;

and my platformio.ini (in case I did not understand you correctly…

; PlatformIO Project Configuration File

;

;   Build options: build flags, source filter

;   Upload options: custom upload port, speed and extra flags

;   Library options: dependencies, extra library storages

;   Advanced options: extra scripting

;

; Please visit documentation for the other options and examples

; https://docs.platformio.org/page/projectconf.html

[env:um_feathers3]

platform = espressif32

board = um_feathers3

upload_port = COM6

monitor_speed = 115200

build_unflags = -std=gnu++11

build_flags = -std=gnu++17

    -fmax-errors=5

    -I./src/

    ;-I./src/utils/

lib_ldf_mode = deep

lib_extra_dirs = ~/Documents/Arduino/libraries

framework = arduino

lib_deps =

    # mikalhart/IridiumSBD@^2.0


    # sparkfun/SparkFun Swarm Satellite Arduino Library@^1.1.8

    # nvirodiy/SDI-12@^2.1.4