added -pedantic option for all C code

The -pedantic option has been added to compile the
C code.  The only warnings that had to be resolved
were due to // comments.