octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50463] gsvd implementation uses functions rem


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #50463] gsvd implementation uses functions removed from lapack >= 3.6.0
Date: Sat, 3 Feb 2018 05:01:25 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #59, bug #50463 (project octave):

The problem seems to be that win32 uses __stdcall calling convention. Win64
switched to a different calling convention that apparently works nicely with
our configure test.
The number behind the @ is the number of bytes in the argument list. Here is
where the config test is failing. Even if we manually inserted a "__stdcall"
to the declaration, this number would probably be off.
The declaration of EnumProcessModules in psapi.h is:

  WINBOOL WINAPI EnumProcessModules(HANDLE hProcess,HMODULE *lphModule,DWORD
cb,LPDWORD lpcbNeeded);


I don't know the build system very well. Maybe we could write a dedicated test
that uses the necessary "#include"s. (I don't know how complicated that would
be.)
Could we instead add -lpsapi to the link switches when compiling for Windows
without any dedicated config test?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50463>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]