Compilation command
gcc -g -Wall -Wno-unused-result -Werror=return-type -Werror=main -pipe -O2 -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -std=c11 Solution.c -o Solution -lm -ljansson -lpthread -lcurl
Compilation message
Solution.c: In function ‘main’:
Solution.c:5:12: error: stray ‘\342’ in program
printf(“How many numbers?: \n”);
^
Solution.c:5:13: error: stray ‘\200’ in program
printf(“How many numbers?: \n”);
^
Solution.c:5:14: error: stray ‘\234’ in program
printf(“How many numbers?: \n”);
^
Solution.c:5:15: error: ‘How’ undeclared (first use in this function)
printf(“How many numbers?: \n”);
^~~
Solution.c:5:15: note: each undeclared identifier is reported only once for each function it appears in
Solution.c:5:18: error: expected ‘)’ before ‘many’
printf(“How many numbers?: \n”);
^~~~~
)
Solution.c:5:34: error: stray ‘\’ in program
printf(“How many numbers?: \n”);
^
Solution.c:5:36: error: stray ‘\342’ in program
printf(“How many numbers?: \n”);
^
Solution.c:5:37: error: stray ‘\200’ in program
printf(“How many numbers?: \n”);
^
Solution.c:5:38: error: stray ‘\235’ in program
printf(“How many numbers?: \n”);
^
Solution.c:6:11: error: stray ‘\342’ in program
scanf(“%d”, &total); // Getting user input using scanf and storing it in the variable ‘total’
^
Solution.c:6:12: error: stray ‘\200’ in program
scanf(“%d”, &total); // Getting user input using scanf and storing it in the variable ‘total’
^
Solution.c:6:13: error: stray ‘\234’ in program
scanf(“%d”, &total); // Getting user input using scanf and storing it in the variable ‘total’
^
Solution.c:6:14: error: expected expression before ‘%’ token
scanf(“%d”, &total); // Getting user input using scanf and storing it in the variable ‘total’
^
Solution.c:6:16: error: stray ‘\342’ in program
scanf(“%d”, &total); // Getting user input using scanf and storing it in the variable ‘total’
^
Solution.c:6:17: error: stray ‘\200’ in program
scanf(“%d”, &total); // Getting user input using scanf and storing it in the variable ‘total’
^
Solution.c:6:18: error: stray ‘\235’ in program
scanf(“%d”, &total); // Getting user input using scanf and storing it in the variable ‘total’
^
Solution.c:10:20: error: stray ‘\342’ in program
printf(“FizzBuzz\n”);
^
Solution.c:10:21: error: stray ‘\200’ in program
printf(“FizzBuzz\n”);
^
Solution.c:10:22: error: stray ‘\234’ in program
printf(“FizzBuzz\n”);
^
Solution.c:10:31: error: stray ‘\’ in program
printf(“FizzBuzz\n”);
^
Solution.c:10:23: error: ‘FizzBuzz’ undeclared (first use in this function)
printf(“FizzBuzz\n”);
^~~~~~~~
Solution.c:10:31: error: expected ‘)’ before ‘n’
printf(“FizzBuzz\n”);
^~
)
Solution.c:10:33: error: stray ‘\342’ in program
printf(“FizzBuzz\n”);
^
Solution.c:10:34: error: stray ‘\200’ in program
printf(“FizzBuzz\n”);
^
Solution.c:10:35: error: stray ‘\235’ in program
printf(“FizzBuzz\n”);
^
Solution.c:12:20: error: stray ‘\342’ in program
printf(“Fizz\n”);
^
Solution.c:12:21: error: stray ‘\200’ in program
printf(“Fizz\n”);
^
Solution.c:12:22: error: stray ‘\234’ in program
printf(“Fizz\n”);
^
Solution.c:12:27: error: stray ‘\’ in program
printf(“Fizz\n”);
^
Solution.c:12:23: error: ‘Fizz’ undeclared (first use in this function)
printf(“Fizz\n”);
^~~~
Solution.c:12:27: error: expected ‘)’ before ‘n’
printf(“Fizz\n”);
^~
)
Solution.c:12:29: error: stray ‘\342’ in program
printf(“Fizz\n”);
^
Solution.c:12:30: error: stray ‘\200’ in program
printf(“Fizz\n”);
^
Solution.c:12:31: error: stray ‘\235’ in program
printf(“Fizz\n”);
^
Solution.c:14:20: error: stray ‘\342’ in program
printf(“Buzz\n”);
^
Solution.c:14:21: error: stray ‘\200’ in program
printf(“Buzz\n”);
^
Solution.c:14:22: error: stray ‘\234’ in program
printf(“Buzz\n”);
^
Solution.c:14:27: error: stray ‘\’ in program
printf(“Buzz\n”);
^
Solution.c:14:23: error: ‘Buzz’ undeclared (first use in this function)
printf(“Buzz\n”);
^~~~
Solution.c:14:27: error: expected ‘)’ before ‘n’
printf(“Buzz\n”);
^~
)
Solution.c:14:29: error: stray ‘\342’ in program
printf(“Buzz\n”);
^
Solution.c:14:30: error: stray ‘\200’ in program
printf(“Buzz\n”);
^
Solution.c:14:31: error: stray ‘\235’ in program
printf(“Buzz\n”);
^
Solution.c:16:20: error: stray ‘\342’ in program
printf(“%d\n”, i); // If the number is not a multiple of 3 or 5, print the number itself
^
Solution.c:16:21: error: stray ‘\200’ in program
printf(“%d\n”, i); // If the number is not a multiple of 3 or 5, print the number itself
^
Solution.c:16:22: error: stray ‘\234’ in program
printf(“%d\n”, i); // If the number is not a multiple of 3 or 5, print the number itself
^
Solution.c:16:23: error: expected expression before ‘%’ token
printf(“%d\n”, i); // If the number is not a multiple of 3 or 5, print the number itself
^
Solution.c:16:25: error: stray ‘\’ in program
printf(“%d\n”, i); // If the number is not a multiple of 3 or 5, print the number itself
^
Solution.c:16:27: error: stray ‘\342’ in program
printf(“%d\n”, i); // If the number is not a multiple of 3 or 5, print the number itself
^
Solution.c:16:28: error: stray ‘\200’ in program
printf(“%d\n”, i); // If the number is not a multiple of 3 or 5, print the number itself
^
Solution.c:16:29: error: stray ‘\235’ in program
printf(“%d\n”, i); // If the number is not a multiple of 3 or 5, print the number itself
^
Solution.c:18:5: error: expected declaration or statement at end of input
}
^