> > 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 mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
