From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18628 invoked by alias); 11 Sep 2013 17:38:43 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 18618 invoked by uid 89); 11 Sep 2013 17:38:43 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Sep 2013 17:38:43 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r8BHccnL019418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Sep 2013 13:38:38 -0400 Received: from redhat.com (vpn1-7-166.ams2.redhat.com [10.36.7.166]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r8BHcZT7020539 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 11 Sep 2013 13:38:37 -0400 Date: Wed, 11 Sep 2013 17:38:00 -0000 From: "Daniel P. Berrange" To: Martin Martin Cc: systemtap@sourceware.org Subject: Re: DTRACE_PROBE macro fails to compile with Clang++ Message-ID: <20130911173835.GK2293@redhat.com> Reply-To: "Daniel P. Berrange" References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2013-q3/txt/msg00303.txt.bz2 On Wed, Sep 11, 2013 at 01:32:15PM -0400, Martin Martin wrote: > The following code: > > #include > > int main() { > DTRACE_PROBE(a, b); > } > > compiles with with G++, but when compiled with clang++ 3.3 gives: That's a known issue - there's some info (but no solution yet ) in this bug report too: https://bugzilla.redhat.com/show_bug.cgi?id=999419 Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|