From: Alasdair G Kergon Date: Tue, 26 Oct 2010 11:46:19 +0100 Subject: LVM2/daemons/clvmd clvmd.c In-Reply-To: <20101026095704.18295.qmail@sourceware.org> References: <20101026095704.18295.qmail@sourceware.org> Message-ID: <20101026104619.GD29400@agk-dp.fab.redhat.com> List-Id: To: lvm-devel@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, Oct 26, 2010 at 09:57:04AM -0000, zkabelac at sourceware.org wrote: > +#ifdef __clang__ > __builtin_unreachable(); > +#endif Please do not scatter #ifdefs like that through the code. If the standard /* NOTREACHED */ really doesn't work, then hide the ifdef in a header file and use a #define to make it available precisely where the compiler supports it, defining it to something empty elsewhere. Alasdair