Skip site navigation (1) Skip section navigation (2)

Re: warning: "min" redefined of qsort.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org, "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: warning: "min" redefined of qsort.
Date: 2006-10-12 15:05:44
Message-ID: 10603.1160665544@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
"Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> writes:
> I have warning with MinGW....
> qsort.c:53:1: warning: "min" redefined

I've fixed this by using Min() from c.h instead.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Jim C. NasbyDate: 2006-10-12 15:14:39
Subject: Hints proposal
Previous:From: Bruce MomjianDate: 2006-10-12 14:58:34
Subject: Replication documentation

pgsql-patches by date

Next:From: Hiroshi SaitoDate: 2006-10-12 15:36:52
Subject: Re: warning: "min" redefined of qsort.
Previous:From: Guillaume LelargeDate: 2006-10-12 10:54:39
Subject: Re: [PATCHES] ISO week dates

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group