gcc 4.4 doesn't work with -std=c99 flag