* Fix various warnings with GCC and clang
This commit is contained in:
@@ -97,6 +97,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define UNUSED_VAR __attribute__((unused))
|
||||
#else
|
||||
#define UNUSED_VAR
|
||||
#endif
|
||||
|
||||
#if (defined _MSC_VER)
|
||||
#define Q_EXPORT __declspec(dllexport)
|
||||
#elif (defined __SUNPRO_C)
|
||||
|
Reference in New Issue
Block a user