cmake: re-enable -Werror in the maintainer mode

now we can afford it. Fix -Werror errors. Note:
* old gcc is bad at detecting uninit variables, disable it.
* time_t is int or long, cast it for printf's
This commit is contained in:
Sergei Golubchik 2019-03-16 19:24:49 +01:00
commit f97d879bf8
25 changed files with 76 additions and 69 deletions

View file

@ -77,7 +77,7 @@ namespace mrn {
}
private:
static const unsigned int CLEAR_THREATHOLD_IN_SECONDS = 60 * 5;
static const int CLEAR_THREATHOLD_IN_SECONDS = 60 * 5;
mysql_mutex_t *mutex_;
LIST *pool_;