Remove the Clang __has_feature(cxx_exceptions) check
The check in qglobal.h for __EXCEPTIONS is enough. This check here was causing moc to define QT_NO_EXCEPTIONS Change-Id: Id69569111e7d4e619e22ffff144daa661df4181d Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
This commit is contained in:
parent
54ef249cc6
commit
a7adf3ea1d
@ -650,11 +650,6 @@
|
||||
/* General C++ features */
|
||||
# define Q_COMPILER_RESTRICTED_VLA
|
||||
# define Q_COMPILER_THREADSAFE_STATICS
|
||||
# if !__has_feature(cxx_exceptions)
|
||||
# ifndef QT_NO_EXCEPTIONS
|
||||
# define QT_NO_EXCEPTIONS
|
||||
# endif
|
||||
# endif
|
||||
# if !__has_feature(cxx_rtti)
|
||||
# define QT_NO_RTTI
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user