Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
fb56d216
Commit
fb56d216
authored
Jun 06, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add comment on NumPy compilation warnings (original patch by Giuseppe Attardi)
parent
e34cc3a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
docs/src/reference/compilation.rst
docs/src/reference/compilation.rst
+7
-0
No files found.
docs/src/reference/compilation.rst
View file @
fb56d216
...
@@ -88,6 +88,13 @@ the necessary include files, e.g. for NumPy::
...
@@ -88,6 +88,13 @@ the necessary include files, e.g. for NumPy::
include_path = [numpy.get_include()]
include_path = [numpy.get_include()]
Note for Numpy users. Despite this, you will still get warnings like the
following from the compiler, because Cython is using a deprecated Numpy API::
.../include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
For the time being, it is just a warning that you can ignore.
If you need to specify compiler options, libraries to link with or other
If you need to specify compiler options, libraries to link with or other
linker options you will need to create ``Extension`` instances manually
linker options you will need to create ``Extension`` instances manually
(note that glob syntax can still be used to specify multiple extensions
(note that glob syntax can still be used to specify multiple extensions
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment