Remove -pedantic because gcc is too pedantic.

 "ISO C forbids conversion of function pointer to object pointer type."

POSIX requires compilers to make pointers to function compatible with void*.
But there seems to be no way to tell gcc to not emit that warning.