Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc 9.1.0

Options
Warnings
Boost 1.70.0
C++17
-pedantic-errors
Raw compiler options
-Wall -Wextra -Werror

Author

anonymous

about 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.70.0/gcc-9.1.0/include -std=c++17 -pedantic-errors -Wall -Wextra -Werror
prog.cc: In function 'int main()':
prog.cc:9:39: error: could not convert '<brace-enclosed initializer list>()' from '<brace-enclosed initializer list>' to 'std::tuple<A>'
    9 |   [[maybe_unused]] std::tuple<A> x = {};
      |                                       ^
      |                                       |
      |                                       <brace-enclosed initializer list>
Exit Code:
1