#ifdefs were wrong, we need both __GNUC__ and DEBUG to do type checking. Added new ARRAY_TYPE_CHECKS macro which can also be defined manually to enable it.
#ifdefs were wrong, we need both __GNUC__ and DEBUG to do type checking.
Added new ARRAY_TYPE_CHECKS macro which can also be defined manually to
enable it.

--HG--
branch : HEAD

jkerihuel/dovecot,dscho/dovecot,dscho/dovecot,jkerihuel/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,dscho/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,dscho/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,dscho/dovecot