[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Compiling GLPK with stdcall calling convention
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Compiling GLPK with stdcall calling convention |
Date: |
Sun, 08 Jan 2017 18:28:58 +0300 |
> > Could you, please, consider adding this CDECL symbol to GLPK 4.61.
>
> Done. Please see
> http://sourceforge.net/projects/noumenon/files/tmp/
> (Note that this is *not* an official release.)
>
> To avoid defining some macros (i.e. CDECL) on compiling glpk on a
> platform other than GNU/Linux and MS Windows I made the changes in the
> following way:
>
> #ifndef __WOE__
> int foo(...
> #else
> int __cdecl foo(...
> #endif
>
> It is always possible to define __cdecl as an empty token sequence, so
> there should be no problem I hope.
>
> Please check the package with VC10. (I've got only VC9.)
>
Oops. I forgot to add #include "config.h" to appropriate files, sorry;
will fix that. You need to add the compiler option /D__WOE__=1 to the
makefile to get changes working properly.
[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 <=
- 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, 2017/01/08
- Re: [Help-glpk] Compiling GLPK with stdcall calling convention, Andrew Makhorin, 2017/01/08