On Wed, Mar 21, 2012 at 05:08:15PM +, Lee Essen wrote:
On Solaris/Illumos dtrace will remove the const qualifier from any
arguments when producing the header file, this results in hundreds
of compile-time warnings.
I wonder why DTrace does this, it seems wrong. If anything it should be
On 22/03/2012 08:28, Stefan Hajnoczi wrote:
On Wed, Mar 21, 2012 at 05:08:15PM +, Lee Essen wrote:
On Solaris/Illumos dtrace will remove the const qualifier from any
arguments when producing the header file, this results in hundreds
of compile-time warnings.
I wonder why DTrace does this,
On Solaris/Illumos dtrace will remove the const qualifier from any
arguments when producing the header file, this results in hundreds
of compile-time warnings.
I have put together a patch to tracetool to cast any const argument
appropriately to remove the warnings, but I don't know how it