Use C99 instead of the default C89: bubblegen.c:186: error: 'for' loop initial declaration used outside C99 mode