Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

BUG: special: fix build failure on mingw32 #360

Merged
merged 4 commits into from

2 participants

@pv
Owner
pv commented

The issue is that Cython (0.17 at least) assumes that functions marked "cdef extern" come from external DLL libraries, and appends corresponding declaration attributes. However, this is incorrect in the case of functions in scipy.special. The solution here was to move the declarations to a separate .h file, outside of Cython's control.

Fixes http://projects.scipy.org/scipy/ticket/1773

pv added some commits
@pv pv BUG: special: fix build failure on mingw32
The issue is that Cython (0.17 at least) assumes that functions marked
"cdef extern" come from external DLL libraries, and appends
corresponding declaration attributes. However, this is incorrect in the
case of functions in scipy.special. The solution here was to move the
declarations to a separate .h file, outside of Cython's control.
71bb1f7
@pv pv MAINT: update .gitattributes b2a04a7
@pv pv GEN: special: regenerate files eae2627
@pv pv TST: special: bump test tolerances so that tests pass on wine cf1f93a
@rgommers rgommers merged commit fb28576 into scipy:master
@rgommers
Owner

Works like a charm, thanks!

@ClemensFMN ClemensFMN referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 18, 2012
  1. @pv

    BUG: special: fix build failure on mingw32

    pv authored
    The issue is that Cython (0.17 at least) assumes that functions marked
    "cdef extern" come from external DLL libraries, and appends
    corresponding declaration attributes. However, this is incorrect in the
    case of functions in scipy.special. The solution here was to move the
    declarations to a separate .h file, outside of Cython's control.
  2. @pv

    MAINT: update .gitattributes

    pv authored
  3. @pv

    GEN: special: regenerate files

    pv authored
  4. @pv
Something went wrong with that request. Please try again.