There is a piece of code that says "at this point, we expect the expression (unsigned)(c + 1) <= 256
to be true; if it isn't, please stop execution at this point and break into the debugger".
The method to break into the debugger is platform dependent and probably not implemented correctly for gcc. I'd look for this piece of code in the project and then try to find out why c
is supposed to be less or equal to 255, and what makes it go out of range; letting the program run to the point where the assertion is triggered gives you an implicit breakpoint on the error condition, start with that.