Ah.
Well, presumably you're calculating the offset in code with something like 'offset = A - B'. As such, the compiler can't tell this is erroneous as the values of A and B aren't known until runtime.
Also, when compiled with debug off, no checks for out of bounds errors like this are carried out.
Well, presumably you're calculating the offset in code with something like 'offset = A - B'. As such, the compiler can't tell this is erroneous as the values of A and B aren't known until runtime.
Also, when compiled with debug off, no checks for out of bounds errors like this are carried out.