From b3c261f710276f28ea23bf86dddacdf5fb4612b4 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Tue, 22 Mar 2011 06:33:20 -0400 Subject: 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 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/src/buildconfig.c') diff --git a/src/src/buildconfig.c b/src/src/buildconfig.c index c012fb7d4..56939770d 100644 --- a/src/src/buildconfig.c +++ b/src/src/buildconfig.c @@ -103,8 +103,10 @@ main(int argc, char **argv) { off_t test_off_t = 0; time_t test_time_t = 0; +#if ! (__STDC_VERSION__ >= 199901L) size_t test_size_t = 0; unsigned long test_ulong_t = 0L; +#endif long test_long_t = 0; FILE *base; FILE *new; -- cgit v1.2.1