Language
C
Compiler
gcc 10.1.0
Options
Warnings
C99
-pedantic
$ gcc prog.c -Wall -Wextra -std=c99 -pedantic
Signal:
Killed
Author
anonymous
about 4 years ago
C
gcc 10.1.0
Author
anonymous
about 4 years ago
$ gcc prog.c -Wall -Wextra -std=c99 -pedantic
prog.c: In function 'main':
prog.c:17:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
17 | for(i=0; i<n; i++)
| ^~~
prog.c:21:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
21 | while (low <= high) {
| ^~~~~
prog.c:5:21: warning: unused variable 'pos' [-Wunused-variable]
5 | int arr[100], n, pos=0;
| ^~~