Compile should succeed with pedantic error checking

Issue #1 resolved
Eric Lambert created an issue

If you try to compile liberasurecode on OS X mavericks, clang compilation fails because the default mode of the compiler appears to be -Wpedantic/-Wall. We should clean up the warnings it generates (and fwiw i suspect if we compiled with gcc with -Wpedantic/-Wall we would see the same). In the mean time, running configure as follows seems to get us past the warnings: ./configure CFLAGS="-Wno-pointer-sign" CPPFLAGS="-Wno-pointer-sign -Wno-return-type -Wno-tautological-constant-out-of-range-compare -Wno-implicit-function-declaration"

Comments (4)

  1. Eric Lambert reporter

    I was able to confirm that we saw compilation errors on gcc when we added the --pedantic and -Wall (and --std=c99) compile time flags. These have been fixed and committed to the newapi branch. That being said, I am still seeing some compilation issues when using clang. I am going to close this issue as fixed and open up a separate issue for clang.

  2. Log in to comment