Record Detail

Compile Error

/in/inDictionary.c: In function 'main':
/in/inDictionary.c:11:48: error: implicit declaration of function 'strupr'; did you mean 'strstr'? [-Werror=implicit-function-declaration]
             if (argv[i] == argv[j]||argv[i] == strupr(argv[j])||argv[j] == strupr(argv[i])) {
                                                ^~~~~~
                                                strstr
/in/inDictionary.c:11:45: error: comparison between pointer and integer [-Werror]
             if (argv[i] == argv[j]||argv[i] == strupr(argv[j])||argv[j] == strupr(argv[i])) {
                                             ^~
/in/inDictionary.c:11:73: error: comparison between pointer and integer [-Werror]
             if (argv[i] == argv[j]||argv[i] == strupr(argv[j])||argv[j] == strupr(argv[i])) {
                                                                         ^~
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 14:31:30
Judged At
2022-07-08 16:06:00
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes