Revert "enabled gcc -Wall, and fixed compiler warnings."

This reverts commit 3f79704bc6ff553cdb549c1fda0ed5bc11d274ce.