warning: "min" redefined of qsort.

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: warning: "min" redefined of qsort.
Date: 2006-10-12 00:36:32
Message-ID: 010901c6ed96$770484e0$a543040a@wiseknot.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Hi.

I have warning with MinGW....

qsort.c:53:1: warning: "min" redefined
In file included from C:/MinGW/include/windows.h:48,
from ../../src/include/pg_config_os.h:12,
from ../../src/include/c.h:88,
from qsort.c:46:
C:/MinGW/include/windef.h:143:1: warning: this is the location of the previous definition
qsort_arg.c:53:1: warning: "min" redefined
In file included from C:/MinGW/include/windows.h:48,
from ../../src/include/pg_config_os.h:12,
from ../../src/include/c.h:88,
from qsort_arg.c:46:
C:/MinGW/include/windef.h:143:1: warning: this is the location of the previous definition
qsort.c:53:1: warning: "min" redefined
In file included from C:/MinGW/include/windows.h:48,
from ../../src/include/pg_config_os.h:12,
from ../../src/include/c.h:88,
from qsort.c:46:
C:/MinGW/include/windef.h:143:1: warning: this is the location of the previous definition
qsort_arg.c:53:1: warning: "min" redefined
In file included from C:/MinGW/include/windows.h:48,
from ../../src/include/pg_config_os.h:12,
from ../../src/include/c.h:88,
from qsort_arg.c:46:

Therefore, please consider this.

Regards,
Hiroshi Saito

Attachment Content-Type Size
qsort_win32_patch application/octet-stream 551 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Woodward 2006-10-12 01:21:09 Re: Hints WAS: Index Tuning Features
Previous Message Ron Johnson 2006-10-12 00:33:49 Re: more anti-postgresql FUD

Browse pgsql-patches by date

  From Date Subject
Next Message Guillaume Lelarge 2006-10-12 10:37:14 Re: ISO week dates
Previous Message Stephen Frost 2006-10-11 04:51:16 array_accum aggregate