Fix clang build warnings
This commit is contained in:
parent
9d880dbb56
commit
09c5c31303
@ -335,8 +335,8 @@
|
||||
#define GFX_COMPILER_TESTED TRUE
|
||||
#define GFX_COMPILER_VERSION_MAJOR (__clang_major__)
|
||||
#define GFX_COMPILER_VERSION_MINOR (__clang_minor__)
|
||||
#define GFX_COMPILER_VERSION_PATCH (__clang_patchlevel__)
|
||||
#define DEPRECATED(msg) __attribute__((deprecated(msg)));
|
||||
#define GFX_COMPILER_VERSION_PATCH (__clang_patchlevel__)
|
||||
#define DEPRECATED(msg) __attribute__((deprecated(msg)))
|
||||
#elif GFX_COMPILER == GFX_COMPILER_COMEAU
|
||||
#define GFX_COMPILER_NAME "Comeau C++"
|
||||
#define GFX_COMPILER_VERSION_MAJOR ((__COMO_VERSION__)/100)
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
#include <pthread.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Already defined int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, size_t */
|
||||
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
#include "../../gfx.h"
|
||||
|
||||
#if GFX_USE_OS_QT
|
||||
#include <QMutex>
|
||||
#include <QSemaphore>
|
||||
#include <QThread>
|
||||
#include <QElapsedTimer>
|
||||
|
||||
#if GFX_USE_OS_QT
|
||||
|
||||
class Thread : public QThread
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user