Record Detail

Compile Error

In file included from /in/Compile/dlist_pre.cpp:2:
In file included from /in/Compile/dlist.h:78:
/in/dlist_impl.h:17:9: error: designated initializers are a C99 feature [-Werror,-Wc99-extensions]
        .next=this->first,
        ^~~~~~~~~~~~~~~~~
/in/dlist_impl.h:18:9: error: designated initializers are a C99 feature [-Werror,-Wc99-extensions]
        .prev=nullptr,
        ^~~~~~~~~~~~~
/in/dlist_impl.h:19:9: error: designated initializers are a C99 feature [-Werror,-Wc99-extensions]
        .op=op,
        ^~~~~~
/in/dlist_impl.h:33:9: error: designated initializers are a C99 feature [-Werror,-Wc99-extensions]
        .next=nullptr,
        ^~~~~~~~~~~~~
/in/dlist_impl.h:34:9: error: designated initializers are a C99 feature [-Werror,-Wc99-extensions]
        .prev=this->last,
        ^~~~~~~~~~~~~~~~
/in/dlist_impl.h:35:9: error: designated initializers are a C99 feature [-Werror,-Wc99-extensions]
        .op=op,
        ^~~~~~
/in/dlist_impl.h:117:30: error: member reference base type 'Dlist::node *' is not a structure or union
        next_node = next_node.next;
                    ~~~~~~~~~^~~~~
7 errors generated.
/in/Compile/Makefile:29: recipe for target 'buildDlistPretest' failed
make: *** [buildDlistPretest] Error 1

Information

Submit By
Type
Submission
Homework
Project 5
Language
C++
Submit At
2022-12-06 12:41:46
Judged At
2022-12-06 12:41:46
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes