Fixed a gazillion of warnings occuring when compiling Wagic with Clang with Werror.
This commit is contained in:
@@ -33,7 +33,7 @@ std::string ToHex(T* pointer)
|
||||
{ \
|
||||
std::ostringstream stream; \
|
||||
stream << inString << std::endl; \
|
||||
qDebug(stream.str().c_str()); \
|
||||
qDebug("%s", stream.str().c_str()); \
|
||||
}
|
||||
#elif defined (ANDROID)
|
||||
#include <android/log.h>
|
||||
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
virtual bool ButtonPressed(); // action button pressed, return false to ignore
|
||||
|
||||
// Used for mouse support so that the GUI engine can found out which Object was selected
|
||||
virtual bool getTopLeft(float& top, float& left)
|
||||
virtual bool getTopLeft(float&, float&)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ public:
|
||||
Q_INVOKABLE qint64 getTick() {
|
||||
return g_startTimer.elapsed();
|
||||
};
|
||||
Q_INVOKABLE void doScroll(int x, int y, int magnitude) {
|
||||
Q_INVOKABLE void doScroll(int x, int y, int) {
|
||||
m_engine->Scroll(x, y);
|
||||
};
|
||||
int getNominalHeight(){ return SCREEN_HEIGHT;};
|
||||
|
||||
Reference in New Issue
Block a user