Work around ICC 14 bug: __attribute__((deprecated)) with text

Apparently it doesn't like the text.

Change-Id: If8e14df84f0d9915018eac94df16bf1b679155e0
Reviewed-by: Keith Gardner <kreios4004@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Thiago Macieira 2014-01-31 22:48:15 -08:00 committed by The Qt Project
parent 1e43b64a7a
commit 0da7a4c4af

View File

@ -153,7 +153,7 @@
# define Q_CC_INTEL
# define Q_ASSUME_IMPL(expr) __assume(expr)
# define Q_UNREACHABLE_IMPL() __builtin_unreachable()
# if __INTEL_COMPILER >= 1300
# if __INTEL_COMPILER >= 1300 && !defined(__APPLE__)
# define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
# endif
# elif defined(__clang__)