Re: DTrace compiler warnings - Mailing list pgsql-hackers

From Bernd Helmle
Subject Re: DTrace compiler warnings
Date
Msg-id 2DB53F4D3212B64438E57E9E@amenophis
Whole thread Raw
In response to Re: DTrace compiler warnings  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers

--On 14. November 2009 15:25:25 +0100 Zdenek Kotala <Zdenek.Kotala@Sun.COM> 
wrote:

> Hmm, const is also problem on solaris. dtrace generates probe.h file and
> eats const. It generates following noise on solaris build:
>
> "postgres.c", line 554: warning: argument #1 is incompatible with
> prototype:
>     prototype: pointer to char : "../../../src/include/utils/probes.h",
> line 582
>     argument : pointer to const char
>
> IIRC, it was discussed. I cc Robert. He should know answer why const is
> ignored.

Have you dug into this further?

-- 
Thanks
Bernd


pgsql-hackers by date:

Previous
From: Bernd Helmle
Date:
Subject: Re: [patch] executor and slru dtrace probes
Next
From: Andrew Dunstan
Date:
Subject: Re: YAML