Language
C
Compiler
gcc 10.1.0
Options
Warnings
C11(GNU)
no pedantic
Raw compiler options
-lm
$ gcc prog.c -Wall -Wextra -std=gnu11 -lm
Text: Grade 16+
Exit Code:
0
Author
anonymous
almost 5 years ago
C
gcc 10.1.0
Author
anonymous
almost 5 years ago
$ gcc prog.c -Wall -Wextra -std=gnu11 -lm
prog.c: In function 'main':
prog.c:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int i = 0; i < strlen(text);i++)
| ^
prog.c:41:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int i=0; i<strlen(text); i++) {
| ^
prog.c:54:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
54 | for(int i = 0; i < strlen(text);i++)
| ^
Text: Grade 16+