Report compiler in -d -bV. Clang compat.
authorPhil Pennock <pdp@exim.org>
Tue, 22 Mar 2011 10:33:20 +0000 (06:33 -0400)
committerPhil Pennock <pdp@exim.org>
Tue, 22 Mar 2011 10:33:20 +0000 (06:33 -0400)
commitb3c261f710276f28ea23bf86dddacdf5fb4612b4
treec004ccb842aa74d03b97193f54185438dcdbb358
parent1ba28e2b955b005ce4825fec792df17f75a8de1e
Report compiler in -d -bV. Clang compat.

Exim successfully builds with clang, albeit with a number of warnings.

 * Our %n usage in printf() calls appears to be correct and safe, AFAICT.
 * dummy functions are, unsurprisingly, unused
 * Valgrind macros cause vociferous complaints
 * Dynamic modules *not* tested

Further clang testing on my part will require an OS update and clang
2.9 to get -rdynamic support.
src/src/buildconfig.c
src/src/exim.c
src/src/lookups/whoson.c
src/src/mytypes.h