Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
8706fb90
"docs/vscode:/vscode.git/clone" did not exist on "667632cc0b220420d2535be2d9789c892b78eae7"
Commit
8706fb90
authored
Sep 07, 2016
by
Wenzel Jakob
Browse files
Intel compiler 2017 fix
parent
6fd3132e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
include/pybind11/descr.h
include/pybind11/descr.h
+3
-2
include/pybind11/eigen.h
include/pybind11/eigen.h
+3
-1
No files found.
include/pybind11/descr.h
View file @
8706fb90
...
...
@@ -15,8 +15,9 @@
NAMESPACE_BEGIN
(
pybind11
)
NAMESPACE_BEGIN
(
detail
)
#if defined(__clang__)
#if defined(__INTEL_COMPILER)
/* C++14 features not supported for now */
#elif defined(__clang__)
# if __has_feature(cxx_return_type_deduction) && __has_feature(cxx_relaxed_constexpr)
# define PYBIND11_CPP14
# endif
...
...
include/pybind11/eigen.h
View file @
8706fb90
...
...
@@ -11,7 +11,9 @@
#include "numpy.h"
#if defined(__GNUG__) || defined(__clang__)
#if defined(__INTEL_COMPILER)
# pragma warning(disable: 1682) // implicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem)
#elif defined(__GNUG__) || defined(__clang__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wconversion"
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
...
...
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