summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2011-06-19 12:52:50 +0000
committersimon <simon@FreeBSD.org>2011-06-19 12:52:50 +0000
commit36e4b60408d622973e8ab03e9090497bb09d3475 (patch)
tree03e627f9f84bfb25f080d154d0bf89a634031c6c /cddl
parent9440cb3b03be56d570a2068eaec3618c872e4fd7 (diff)
downloadFreeBSD-src-36e4b60408d622973e8ab03e9090497bb09d3475.zip
FreeBSD-src-36e4b60408d622973e8ab03e9090497bb09d3475.tar.gz
Do not use #warning to warn about missing implementation of dt_popc(),
but just have a comment that this is broken. This is just a bandaid until somebody can fix this correctly. The code is just a broken as it was before r223262 - now buildworld just doesn't fail. Tested by: i386 + amd64 buildworld With hat: benl co-mentor
Diffstat (limited to 'cddl')
-rw-r--r--cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c
index 9722f89..ea4607f 100644
--- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c
+++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c
@@ -828,7 +828,7 @@ dt_popc(ulong_t x)
x = x + (x >> 32);
return (x & 0x7F);
#else
-# warning need td_popc() implementation
+/* This should be a #warning but for now ignore error. Err: "need td_popc() implementation" */
#endif
}
OpenPOWER on IntegriCloud