Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 3 years ago

Language

C++

Compiler

gcc 11.1.0

Options
Warnings
Boost 1.76.0
C++17
-pedantic

Author

anonymous

over 3 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.76.0/gcc-11.1.0/include -std=c++17 -pedantic
prog.cc: In function 'int main()':
prog.cc:33:10: warning: variable 'test' set but not used [-Wunused-but-set-variable]
   33 |     auto test = scalar * x;
      |          ^~~~
0
Exit Code:
0