Re: 'daylight' redeclared as different kind of symbol with mingw-w64

2024-11-14 Thread Markus Mützel
Am 14. November 2024 um 18:43 schrieb "Paul Eggert": > That 'daylight' business was a fiasco for other reasons, which I had > been meaning to clean up but haven't gotten around to. I installed the > attached Gnulib patch for now; please give it a try. > > As the Gnulib manual says, nobody should us

Re: 'daylight' redeclared as different kind of symbol with mingw-w64

2024-11-14 Thread markus . muetzel
Am 14. November 2024 um 18:22 schrieb "Markus Mützel": > The following might be relevant: > > configure:79124: checking spelling of daylight variable > configure:79153: gcc -o conftest.exe -g -ggdb -O0 -pthread -fopenmp -fexceptions conftest.c -lpthread -lm >&5 > conftest.c: In function 'main'

Re: 'daylight' redeclared as different kind of symbol with mingw-w64

2024-11-14 Thread Paul Eggert
That 'daylight' business was a fiasco for other reasons, which I had been meaning to clean up but haven't gotten around to. I installed the attached Gnulib patch for now; please give it a try. As the Gnulib manual says, nobody should use 'daylight'.From 72abb08f4495bf232736f4d13a24bced72a9c327

Re: 'daylight' redeclared as different kind of symbol with mingw-w64

2024-11-14 Thread Markus Mützel
The following might be relevant: configure:79124: checking spelling of daylight variable configure:79153: gcc -o conftest.exe -g -ggdb -O0 -pthread -fopenmp -fexceptions conftest.c -lpthread -lm >&5 conftest.c: In function 'main': conftest.c:341:8: error: returning 'int * (*)(void)' from a fun