Record Detail

Compile Error

/in/call.cpp:18:16: error: variable length arrays are a C99 feature [-Werror,-Wvla-extension]
    caller call[num_call];
               ^
/in/call.cpp:45:13: error: comparison of array 'call' not equal to a null pointer is always true [-Werror,-Wtautological-pointer-compare]
        if (call != nullptr){
            ^~~~    ~~~~~~~
/in/call.cpp:47:18: error: expression result unused [-Werror,-Wunused-value]
            for (i; i < num_call; i++){
                 ^
3 errors generated.
/in/Compile/Makefile:39: recipe for target 'buildCall' failed
make: *** [buildCall] Error 1

Information

Submit By
Type
Submission
Homework
Project Five: List, Stack, and Queue
Language
C++
Submit At
2018-08-02 23:56:20
Judged At
2018-08-02 23:56:20
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes