Re: [COMMITTERS] pgsql: Silence Solaris compiler warnings, per buildfarm.

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)postgresql(dot)org>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Silence Solaris compiler warnings, per buildfarm.
Date: 2007-09-17 14:33:16
Message-ID: 87zlzlmker.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers


"Tom Lane" <tgl(at)postgresql(dot)org> writes:

> Log Message:
> -----------
> Silence Solaris compiler warnings, per buildfarm.

This one was also lost in the tsearch merge.

The second half from query_support.c seems to be in tsquery_op.c now but isn't
relevant because it relates to PG_FUNCTION_INFO_V1().

Index: src/backend/utils/adt/tsquery_cleanup.c
===================================================================
RCS file: /home/stark/src/REPOSITORY/pgsql/src/backend/utils/adt/tsquery_cleanup.c,v
retrieving revision 1.4
diff -c -r1.4 tsquery_cleanup.c
*** src/backend/utils/adt/tsquery_cleanup.c 7 Sep 2007 16:03:40 -0000 1.4
--- src/backend/utils/adt/tsquery_cleanup.c 17 Sep 2007 13:42:39 -0000
***************
*** 194,199 ****
--- 194,202 ----
#ifdef V_UNKNOWN /* exists in Windows headers */
#undef V_UNKNOWN
#endif
+ #ifdef V_FALSE /* exists in Solaris headers */
+ #undef V_FALSE
+ #endif

/*
* output values for result output parameter of clean_fakeval_intree

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Markus Schiltknecht 2007-09-17 15:29:55 Re: [COMMITTERS] pgsql: Fix up text concatenation so that it accepts all the reasonable
Previous Message Gregory Stark 2007-09-17 14:32:29 Re: [COMMITTERS] pgsql: Fix up text concatenation so that it accepts all the reasonable

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Schiltknecht 2007-09-17 15:29:55 Re: [COMMITTERS] pgsql: Fix up text concatenation so that it accepts all the reasonable
Previous Message Gregory Stark 2007-09-17 14:32:29 Re: [COMMITTERS] pgsql: Fix up text concatenation so that it accepts all the reasonable