/ Test /

Record Detail

Compile Error

In file included from /in/driver/main.c:9:
/in/dlist.h:84:9: error: implicit declaration of function 'rand48' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return rand48()%3-1;
               ^
/in/dlist.h:84:9: note: did you mean 'rand'?
/usr/include/stdlib.h:453:12: note: 'rand' declared here
extern int rand (void) __THROW;
           ^
1 error generated.
In file included from /in/dlist.c:5:
/in/dlist.h:84:9: error: implicit declaration of function 'rand48' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return rand48()%3-1;
               ^
/in/dlist.h:84:9: note: did you mean 'rand'?
/usr/include/stdlib.h:453:12: note: 'rand' declared here
extern int rand (void) __THROW;
           ^
1 error generated.

Information

Submit By
Type
Submission
Problem
482l7test
Language
C (Clang, with memory check)
Submit At
2018-11-17 20:16:04
Judged At
2018-11-17 20:16:04
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes