25 lines
966 B
Plaintext
25 lines
966 B
Plaintext
[1mec3.cpp:11:6: [31merror:[39m Array 'a[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds][0m
|
||
a[10] = 0;
|
||
^
|
||
[1mec3.cpp:16:10: [31merror:[39m Array 'a[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds][0m
|
||
a[k] = k;
|
||
^
|
||
[1mec3.cpp:62:0: [31merror:[39m Found a exit path from function with non-void return type that has missing return statement [missingReturn][0m
|
||
return false;
|
||
^
|
||
[1mec3.cpp:33:6: [31merror:[39m Null pointer dereference: x [nullPointer][0m
|
||
*x = 1;
|
||
^
|
||
[1mec3.cpp:32:14: [2mnote:[0m Assignment 'x=0', assigned value is 0
|
||
int* x = 0;
|
||
^
|
||
[1mec3.cpp:33:6: [2mnote:[0m Null pointer dereference
|
||
*x = 1;
|
||
^
|
||
[1mec3.cpp:29:6: [31merror:[39m Uninitialized variable: p [uninitvar][0m
|
||
*p = 5;
|
||
^
|
||
[1mec3.cpp:47:12: [31merror:[39m Memory is allocated but not initialized: r [uninitdata][0m
|
||
delete r;
|
||
^
|