Compile Error
/in/correct/dlist.c:220:44: error: pointer cannot be cast to type 'double' fprintf(stdout, "%lf", (double)(tmp->key)); ^~~~~~~~~~ /in/correct/dlist.c:245:16: error: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] insert(a, key, this); ^~~ /in/correct/dlist.c:42:29: note: passing argument to parameter 'name' here void insert(void* op, char *name, list_t *list) { ^ 2 errors generated.
Information
- Submit By
- Type
- Submission
- Homework
- Lab 7: Debugging Lab
- Language
- C (Clang, with memory check)
- Submit At
- 2018-12-04 18:05:35
- Judged At
- 2018-12-04 18:05:35
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes