warning: "min" redefined of qsort. - Mailing list pgsql-patches

From Hiroshi Saito
Subject warning: "min" redefined of qsort.
Date
Msg-id 010901c6ed96$770484e0$a543040a@wiseknot.local
Whole thread Raw
Responses Re: warning: "min" redefined of qsort.
List 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

pgsql-patches by date:

Previous
From: Stephen Frost
Date:
Subject: array_accum aggregate
Next
From: Guillaume Lelarge
Date:
Subject: Re: [GENERAL] ISO week dates