Add -pedantic compilation flag.

Changed array initializer in a test to pass pedantic checks.