only deprecate call() function if C++14 is available
diff --git a/include/pybind11/pytypes.h b/include/pybind11/pytypes.h
index ad9029b..207e57d 100644
--- a/include/pybind11/pytypes.h
+++ b/include/pybind11/pytypes.h
@@ -40,7 +40,9 @@
inline pybind11::str str() const;
template <typename T> T cast() const;
template <typename ... Args>
+ #if __cplusplus > 201103L
[[deprecated("call(...) was deprecated in favor of operator()(...)")]]
+ #endif
object call(Args&&... args) const;
template <typename ... Args> object operator()(Args&&... args) const;
inline object operator()(detail::args_proxy args) const;