search for: __dtrace_foo___bar

Displaying 1 result from an estimated 1 matches for "__dtrace_foo___bar".

2006 Aug 14
1
Why does dtrace -h remove const qualifier?
If I have the following definition: provider foo { probe bar(const char*); }; and creates the headerfile (snv 43) with dtrace -h I get: extern void __dtrace_foo___bar(char *); This is a "problem" for me (ok, I could add an explicit cast each time I fire the probe, or edit the generated headerfile by hand...), since it generates compilation errors when I call the probe in a C++ context: "a.cc", line 6: Error: Formal argument 1 of type char* i...