diff options
author | Phil Pennock <pdp@exim.org> | 2011-03-22 06:33:20 -0400 |
---|---|---|
committer | Phil Pennock <pdp@exim.org> | 2011-03-22 06:33:20 -0400 |
commit | b3c261f710276f28ea23bf86dddacdf5fb4612b4 (patch) | |
tree | c004ccb842aa74d03b97193f54185438dcdbb358 /src/src/buildconfig.c | |
parent | 1ba28e2b955b005ce4825fec792df17f75a8de1e (diff) | |
download | exim4-b3c261f710276f28ea23bf86dddacdf5fb4612b4.tar.gz |
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.
Diffstat (limited to 'src/src/buildconfig.c')
-rw-r--r-- | src/src/buildconfig.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |