Turned on warning as error in the main CMakeLists.txt file. Removed one warning in util_path by doing a void cast. Overrides compiler flag with Wno-error on a couple of files with errors. Should be fixed later.
Removed unused static function in enkf_main, it gave a warning. Removed warning as error exception in cmake file
Moved the no-warning-as-errors for the cmake check c files into the ert_check.cmake file
Reintroduced enkf_main_invalidate_cache as a commented out function, so that if it is actually used, and someone gets into trouble, it is easier for them to find it.
Merge pull request #112 from flikka/werror

Turning on warnings as errors