From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Li Subject: Re: including sparse headers in C++ code Date: Mon, 18 Oct 2010 11:37:18 -0700 Message-ID: References: <20101009205930.GA4684@feather> <20101011224656.GN19804@ZenIV.linux.org.uk> <20101016191153.GA19324@feather> <20101018053955.GA1628@feather> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-gy0-f174.google.com ([209.85.160.174]:48701 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755239Ab0JRShT convert rfc822-to-8bit (ORCPT ); Mon, 18 Oct 2010 14:37:19 -0400 Received: by gyg13 with SMTP id 13so641931gyg.19 for ; Mon, 18 Oct 2010 11:37:19 -0700 (PDT) In-Reply-To: <20101018053955.GA1628@feather> Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Josh Triplett Cc: Tomas Klacko , Al Viro , linux-sparse@vger.kernel.org On Sun, Oct 17, 2010 at 10:39 PM, Josh Triplett = wrote: > > Based on these two code examples, I think you don't need to change > CHECK_TYPE at all. =A0(And the user should always use code like your > second example, not your first example.) Oh good, then we can completely remove the #ifdef __cplusplus. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse"= in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html