[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Compiling GLPK with stdcall calling convention
From: |
Heinrich Schuchardt |
Subject: |
Re: [Help-glpk] Compiling GLPK with stdcall calling convention |
Date: |
Sun, 8 Jan 2017 23:11:22 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 |
Hello Andrew,
you refer to a non-existent file glpk_4_61_stdcall.def.
I get the same warning concerning make not being cdecl. I think this
should be fixed.
There are warnings for mcfrelax.c and proxy.c due to conversion of
double to int.
In proxy.c this is due to inconsistent variable types for time.
In mcfrelax.c variable low is checked to be integer. So you can safely
prepend (int) to avoid the warnings.
See appended patches.
Best regards
Heinrich Schuchardt
On 01/08/2017 06:54 PM, Andrew Makhorin wrote:
> Heinrich,
>
>>
>> unfortunately you missed one function passed to qsort.
>>
>> Please, apply the appended patch
>> https://github.com/xypron/glpk/commit/f6afa4d6645868b8369c757debe8bc8663ec9c7c
>
> Please see an updated version ibid.:
> http://sourceforge.net/projects/noumenon/files/tmp/
> (Note that this is *not* an official release.)
>
> I checked it with VC9 and all seems to work. Please check it with VC10.
> Thanks.
>
> There was a warning:
> ..\examples\glpsol.c(932) : warning C4007: 'main' : must be '__cdecl'
> However I think this should work because internally main always finishes
> via ExitProcess winapi call rather than via return statement.
>
>
> Andrew Makhorin
>
>
0001-Fix-build-errors.patch
Description: Text Data
0001-Avoid-warnings-due-to-implicit-time-conversions.patch
Description: Text Data
[Help-glpk] Compiling GLPK with stdcall calling convention, Heinrich Schuchardt, 2017/01/07
- Re: [Help-glpk] Compiling GLPK with stdcall calling convention, Andrew Makhorin, 2017/01/08
- Re: [Help-glpk] Compiling GLPK with stdcall calling convention, Andrew Makhorin, 2017/01/08
- Re: [Help-glpk] Compiling GLPK with stdcall calling convention, Heinrich Schuchardt, 2017/01/08
- Re: [Help-glpk] Compiling GLPK with stdcall calling convention, Heinrich Schuchardt, 2017/01/08
- Re: [Help-glpk] Compiling GLPK with stdcall calling convention, Andrew Makhorin, 2017/01/08
- Re: [Help-glpk] Compiling GLPK with stdcall calling convention,
Heinrich Schuchardt <=
- Re: [Help-glpk] Compiling GLPK with stdcall calling convention, Andrew Makhorin, 2017/01/08