Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 2 years ago

Language

C++

Compiler

gcc HEAD 14.0.0 20230712 (experimental)

Options
Warnings
Optimization
Don't Use Boost
C++17(GNU)
no pedantic

Author

anonymous

about 2 years ago

noname

$ g++ prog.cc -Wall -Wextra -O2 -march=native -std=gnu++17
prog.cc: In function 'int main()':
prog.cc:53:11: error: increment of read-only variable 'i'
   53 |         ++i; // compile error
      |           ^
Exit Code:
1