/in/ex1.c: In function 'main':
/in/ex1.c:13:13: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion]
c = getchar();
^~~~~~~
/in/ex1.c:14:19: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Werror=int-conversion]
if(strcmp(c, ".") == 0){
^
In file included from /in/ex1.c:2:0:
/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'char'
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
/in/ex1.c:18:19: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Werror=int-conversion]
if(strcmp(c, " ") == 0 || strcmp(c, "\n") == 0){
^
In file included from /in/ex1.c:2:0:
/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'char'
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
/in/ex1.c:18:42: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Werror=int-conversion]
if(strcmp(c, " ") == 0 || strcmp(c, "\n") == 0){
^
In file included from /in/ex1.c:2:0:
/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'char'
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
/in/ex1.c:26:19: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Werror=int-conversion]
if(strcmp(c, "\n") == 0){
^
In file included from /in/ex1.c:2:0:
/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'char'
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
/in/ex1.c:32:9: error: implicit declaration of function 'strupr'; did you mean 'strstr'? [-Werror=implicit-function-declaration]
strupr(extensions[j]);
^~~~~~
strstr
/in/ex1.c:7:10: error: unused variable 'input' [-Werror=unused-variable]
char input[10086] = {0};
^~~~~
cc1: all warnings being treated as errors