Record Detail

Compile Error

/in/cleaner.cpp:43:20: error: variable length arrays are a C99 feature [-Werror,-Wvla-extension]
    char char_array[string_size + 1];
                   ^
/in/cleaner.cpp:135:15: error: variable length arrays are a C99 feature [-Werror,-Wvla-extension]
    char line1[S + 1];
              ^
/in/cleaner.cpp:136:15: error: variable length arrays are a C99 feature [-Werror,-Wvla-extension]
    char line2[P + 1];
              ^
/in/cleaner.cpp:155:15: error: variable length arrays are a C99 feature [-Werror,-Wvla-extension]
    string add[n];
              ^
/in/cleaner.cpp:156:15: error: variable length arrays are a C99 feature [-Werror,-Wvla-extension]
    string del[m];
              ^
5 errors generated.
/in/Compile/Makefile:44: recipe for target 'buildCleaner' failed
make: *** [buildCleaner] Error 1

Information

Submit By
Type
Submission
Homework
Project Five: List, Stack, and Queue
Language
C++
Submit At
2020-12-14 22:34:30
Judged At
2020-12-14 22:34:30
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes