Take out -pedantic.

This conflicts with %td (for ptrdiff_t) modifier for fprintf().
Build a compilable framework for multithread IO.