Language
C++
Compiler
gcc HEAD 14.0.0 20230712 (experimental)
Options
Warnings
Optimization
Don't Use Boost
C++17(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -O2 -march=native -std=gnu++17
Exit Code:
1
Author
anonymous
about 2 years ago
C++
gcc HEAD 14.0.0 20230712 (experimental)
Author
anonymous
about 2 years ago
$ 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
| ^