summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-26 13:06:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:24 -0500
commit8194dfd289e213d7afacffca67b361c741855a00 (patch)
tree4d48e7293af91c4a1f8a21bbbb5ce6602b658ab0
parente72786ec24691d8b62bd7b28f30187cdcba4a799 (diff)
downloadsamba-8194dfd289e213d7afacffca67b361c741855a00.tar.gz
samba-8194dfd289e213d7afacffca67b361c741855a00.tar.bz2
samba-8194dfd289e213d7afacffca67b361c741855a00.zip
r17257: make the size_t is to small error more verbose
(hopefully nobody will ever see this:-) metze (This used to be commit 196803a6c6a2588f0d3315bc38a56112ecb81349)
-rw-r--r--source4/lib/talloc/config.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/talloc/config.m4 b/source4/lib/talloc/config.m4
index 53066333d2..d4c68ca52b 100644
--- a/source4/lib/talloc/config.m4
+++ b/source4/lib/talloc/config.m4
@@ -12,5 +12,9 @@ AC_CHECK_SIZEOF(size_t,cross)
AC_CHECK_SIZEOF(void *,cross)
if test $ac_cv_sizeof_size_t -lt $ac_cv_sizeof_void_p; then
+ AC_WARN([size_t cannot represent the amount of used memory of a process])
+ AC_WARN([please report this to <samba-technical@samba.org>])
+ AC_WARN([sizeof(size_t) = $ac_cv_sizeof_size_t])
+ AC_WARN([sizeof(void *) = $ac_cv_sizeof_void_p])
AC_ERROR([sizeof(size_t) < sizeof(void *)])
fi