throw() is C++, so don't use it in C mode
authorThiago Macieira <thiago.macieira@intel.com>
Wed, 12 Sep 2012 13:20:06 +0000 (15:20 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 13 Sep 2012 23:01:08 +0000 (01:01 +0200)
commitf0fb53dec36d0d46d70f6fe4286c2a2057fc1dad
tree5fd431ac0ecd89a10a53433b5310b37d62ee4923
parentaf7a0ee55fd511652e3fe59fd62865aaf2a536a2
throw() is C++, so don't use it in C mode

Q_DECL_NOTHROW is used by qVersion(), which can be extern "C".

Change-Id: If71f3bc3a0df3e8321237e5ac9f3bea82380c1e4
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
src/corelib/global/qcompilerdetection.h