This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: DTRACE_PROBE macro fails to compile with Clang++
- From: "Daniel P. Berrange" <berrange at redhat dot com>
- To: Martin Martin <martin at infinio dot com>
- Cc: systemtap at sourceware dot org
- Date: Wed, 11 Sep 2013 18:38:35 +0100
- Subject: Re: DTRACE_PROBE macro fails to compile with Clang++
- Authentication-results: sourceware.org; auth=none
- References: <CAAQ0mPgq32wUcFVX824duqR8k=cg-9ToLLY6WaD=mv41nzktDw at mail dot gmail dot com>
- Reply-to: "Daniel P. Berrange" <berrange at redhat dot com>
On Wed, Sep 11, 2013 at 01:32:15PM -0400, Martin Martin wrote:
> The following code:
>
> #include <sys/sdt.h>
>
> 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 :|