Same error here.
gcc version 4.9.2 (Raspbian 4.9.2-10)
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
Replacing
printf("bcm2835_delayMicroseconds %" PRIu64 "\n", micros);
with
printf("bcm2835_delayMicroseconds %lld\n", micros);
in file drivers/BCM/bcm2835.c fixed the issue.
EDIT:
It did compile, but it segfaults when I try to start mysgw
Time to get a fresh copy from git
EDIT2:
Fix from commit in bug report fixed it.