Re: DTrace compiler warnings

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: pgsql-hackers(at)postgresql(dot)org, Robert(dot)Lor(at)Sun(dot)COM
Subject: Re: DTrace compiler warnings
Date: 2009-12-07 23:39:09
Message-ID: 2DB53F4D3212B64438E57E9E@amenophis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On 14. November 2009 15:25:25 +0100 Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2009-12-08 00:07:13 Re: YAML
Previous Message Bernd Helmle 2009-12-07 23:27:34 Re: [patch] executor and slru dtrace probes