This is a discussion on warning: "min" redefined of qsort. within the Pgsql Patches forums, part of the PostgreSQL category; --> 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, ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |
| |||
| "Hiroshi Saito" <z-saito@guitar.ocn.ne.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 ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings |
| ||||
| Hi Tom-san. From: "Tom Lane" > "Hiroshi Saito" <z-saito@guitar.ocn.ne.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. Ahh, I was consideration shortage. Thanks!! Regards, Hiroshi Saito ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |