Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 2 years ago

Language

C++

Compiler

gcc 12.1.0

Options
Warnings
Don't Use Boost
C++11
-pedantic-errors

Author

anonymous

over 2 years ago

$ g++ prog.cc -Wall -Wextra -std=c++11 -pedantic-errors
prog.cc: In function 'int main()':
prog.cc:14:14: warning: variable 'local1' set but not used [-Wunused-but-set-variable]
   14 |         auto local1 = elem.StructElement1;
      |              ^~~~~~
Exit Code:
0