Switch from C99 to Gnu99 to make editor build work
Remove -pedantic

It warns about the editor build and serves no purpose.
Support versions of gcc < 4.6

GCC 4.6 accepts the earlier form without comment, but GCC 4.5 chokes on it.
Remove unused header files
Remove unused main/desc_id.h