Re: [Mingw-w64-public] [PATCH] crt/misc/imaxdiv.c: Fix prototype of `lldiv()`.

2018-06-10 Thread Ruben Van Boxem
The patch is about something totally different. You're replying to another thread on this mailing list ;) Great that you got it to work! 2018-06-10 19:36 GMT+02:00 Brian Johnson : > Thanks very much for the replies. I was able to successfully link with > the following string: > > sudo ld -dll

Re: [Mingw-w64-public] [PATCH] crt/misc/imaxdiv.c: Fix prototype of `lldiv()`.

2018-06-10 Thread Brian Johnson
Thanks very much for the replies. I was able to successfully link with the following string: sudo ld -dll -o PST.dll -e Main_Entry_fn -L/opt/minGW64/x86_64-w64-mingw32/lib/ -L/opt/Test_Project PST.obj -l:libmsvcr110.a The patch that's referred to in the email from Liu Hao -- do I need to appl

Re: [Mingw-w64-public] [PATCH] crt/misc/imaxdiv.c: Fix prototype of `lldiv()`.

2018-06-10 Thread Liu Hao
在 2018/6/10 22:15, JonY via Mingw-w64-public 写道: On 06/10/2018 10:59 AM, Liu Hao wrote: This function shall return the struct `lldiv_t`, which used to be `long long` mistakenly. Although this function is never used throughout this file, the follow warning was observed when compiling this file:

Re: [Mingw-w64-public] [PATCH] crt/misc/imaxdiv.c: Fix prototype of `lldiv()`.

2018-06-10 Thread JonY via Mingw-w64-public
On 06/10/2018 10:59 AM, Liu Hao wrote: > This function shall return the struct `lldiv_t`, which used to be > `long long` mistakenly. Although this function is never used throughout > this file, the follow warning was observed when compiling this file: > > imaxdiv.c:31:1: warning: 'lldiv' alias bet

[Mingw-w64-public] [PATCH] crt/misc/imaxdiv.c: Fix prototype of `lldiv()`.

2018-06-10 Thread Liu Hao
This function shall return the struct `lldiv_t`, which used to be `long long` mistakenly. Although this function is never used throughout this file, the follow warning was observed when compiling this file: imaxdiv.c:31:1: warning: 'lldiv' alias between functions of incompatible types 'ldiv_t(long