compile

command_line: /usr/bin/ccache /usr/bin/gcc --coverage -Wall -Wextra -MD -MT Failures/CMakeFiles/fpe.dir/fpe.c.o -MF Failures/CMakeFiles/fpe.dir/fpe.c.o.d -o Failures/CMakeFiles/fpe.dir/fpe.c.o -c /home/dp/Projects/Example/Failures/fpe.c

working_directory: "/home/dp/.cache/build/83ca88f9fab95a07d56582a37692a8af"

Target: fpe

Target Type: object file

Source: Failures/fpe.c

Language: C

stderr:

/home/dp/Projects/Example/Failures/fpe.c: In function ‘main’:
/home/dp/Projects/Example/Failures/fpe.c:10:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=]
   10 |   printf("Result: %d\n", result);
      |                   ~^     ~~~~~~
      |                    |     |
      |                    int   double
      |                   %f
/home/dp/Projects/Example/Failures/fpe.c:14:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=]
   14 |     printf("Safe division: %d\n", result);
      |                            ~^     ~~~~~~
      |                             |     |
      |                             int   double
      |                            %f
/home/dp/Projects/Example/Failures/fpe.c:7:7: warning: unused variable ‘unusedVar’ [-Wunused-variable]
    7 |   int unusedVar = 10;
      |       ^~~~~~~~~
Status: 0
Loading...