Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to compile on opensuse 11.3 x86_64 #9

Closed
GoogleCodeExporter opened this issue Apr 3, 2015 · 2 comments
Closed

fails to compile on opensuse 11.3 x86_64 #9

GoogleCodeExporter opened this issue Apr 3, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

python-numpy-1.3.0-7.1.x86_64
python-2.6.5-2.11.x86_64

Small patch (git format-patch) attached to fix the problem.

Original issue reported on code.google.com by nev...@gmail.com on 15 Sep 2010 at 11:39

Attachments:

@GoogleCodeExporter
Copy link
Author

I encountered the same problem too! Apparently numpy does not follow it's 
documentation. Grep-ing the numpy headers shows that NPY_*_ENDIAN are actually 
used using #ifdefs.
However note: The patch "0001-fix-for-undef-d-NPY_-BIG-LITTLE-_ENDIAN.patch" 
that is supplied here will probably fail to compile on big-endian machines. 
Particularly, the line
  #elif NPY_BIG_ENDIAN
should probably read
  #elif defined(NPY_BIG_ENDIAN)

I have attached another improved patch.

Original comment by p...@delley.net on 20 Sep 2010 at 10:19

Attachments:

@GoogleCodeExporter
Copy link
Author

Thanks for the patch. It has been applied to SVN.

Original comment by pearu.peterson on 23 Sep 2010 at 11:02

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant