Date: Sun, 19 Jun 2011 12:52:50 +0000 (UTC) From: "Simon L. Nielsen" <simon@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r223293 - head/cddl/contrib/opensolaris/lib/libdtrace/common Message-ID: <201106191252.p5JCqo6K094258@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: simon Date: Sun Jun 19 12:52:50 2011 New Revision: 223293 URL: http://svn.freebsd.org/changeset/base/223293 Log: 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 Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c ============================================================================== --- head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c Sun Jun 19 11:42:48 2011 (r223292) +++ head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c Sun Jun 19 12:52:50 2011 (r223293) @@ -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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106191252.p5JCqo6K094258>