Jabberd2/jabberd2 — pull request #12 by eagafonov (2012-09-25 20:07:19+00:00)
Title: Fix compilation warnings

Add configure's --enable-werror flag to enable paranoid '-Wall -Werror' flags

Fixed a bunch of compilation warnings:
- 'const char *' VS 'char*'.
- unused local vars
- pointer-to-integer-cast

A few possible errors was discovered
- possible integer overflow something like printf("%d", (int)pointer)
- error in _ar_sqlite_create_user: It could return success if actually failed

Note: some warnings are disabled to be fixed a bit later