At revision 1638, progs/demos/timer/timer.c declares loop variables inside the for loop. This is a C99 feature, but GCC is not given -std=c99 so it fails. I compiled by running cmake . then make on Ubuntu 13.10.
I've attached a patch.
Diederick C. Niehorster
Thanks! I just saw others have made similar changes in trunk already, luckily
It looks like this is fixed now, closing.