for (int j = i; list[j].offset < (offset + segmentSizes[index]); j++) {
...
}
errprint("[...]",index, list[j].offset);
Does not obey C++ standard rules - the scope of the name(s) declared extends to the end of the for statement.
char vsdi_name[strlen(vsdi.name)];
and saio_offset ...
Using non-standard C++ dynamic array lengths - (this has been adopted by the C standard and is supported in g++, but it is not in the C++ standard).
true and false are #defined.
C++ Standard Library forbids macroizing keywords
- Plus Visual Studio projects do not compile with latest (2017) VS version.
Does not obey C++ standard rules - the scope of the name(s) declared extends to the end of the for statement.
Using non-standard C++ dynamic array lengths - (this has been adopted by the C standard and is supported in g++, but it is not in the C++ standard).
C++ Standard Library forbids macroizing keywords