-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
When I create a new C++ file.
micro test.cpp
and write some C++17 code.
template <int... N>
struct sum {
static constexpr int value = (N + ...);
};When I save the file by pressing Ctrl-S, the code is compiled and I get a warning,
Fold expressions are a C++17 extension
I'd rather not get this warning. Is there so way that I can see the compiler options that micro is using and change them? I'd like to pass the flag -std=c++17 (and maybe -Wall -Wextra -pedantic if they aren't already) to the compiler. I couldn't find any mention of this in the documentation.
Commit hash: 1856891
OS: MacOS
Terminal: iTerm2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels