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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
684ecc93
Commit
684ecc93
authored
May 30, 2012
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #125 from bfroehle/_reserved-user-defined-literal
Fix -Wreserved-user-defined-literal error in C++11.
parents
a4cac007
10666c9c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Cython/Utility/Buffer.c
Cython/Utility/Buffer.c
+1
-1
No files found.
Cython/Utility/Buffer.c
View file @
684ecc93
...
...
@@ -802,7 +802,7 @@ static CYTHON_INLINE int __Pyx_GetBufferAndValidate(
}
if
((
unsigned
)
buf
->
itemsize
!=
dtype
->
size
)
{
PyErr_Format
(
PyExc_ValueError
,
"Item size of buffer (%"
PY_FORMAT_SIZE_T
"d byte%s) does not match size of '%s' (%"
PY_FORMAT_SIZE_T
"d byte%s)"
,
"Item size of buffer (%"
PY_FORMAT_SIZE_T
"d byte%s) does not match size of '%s' (%"
PY_FORMAT_SIZE_T
"d byte%s)"
,
buf
->
itemsize
,
(
buf
->
itemsize
>
1
)
?
"s"
:
""
,
dtype
->
name
,
(
Py_ssize_t
)
dtype
->
size
,
(
dtype
->
size
>
1
)
?
"s"
:
""
);
goto
fail
;
...
...
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