Created
June 5, 2014 20:15
-
-
Save IngwiePhoenix/76d89752f4d5e167786e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../ocgcore/interpreter.cpp:631:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] | |
libcard.cpp | |
libdebug.cpp | |
libduel.cpp | |
libeffect.cpp | |
libgroup.cpp | |
mem.cpp | |
ocgapi.cpp | |
operations.cpp | |
playerop.cpp | |
processor.cpp | |
scriptlib.cpp | |
Linking ocgcore | |
==== Building clzma (debug) ==== | |
Creating ../obj/Debug/clzma | |
Alloc.c | |
LzFind.c | |
LzmaDec.c | |
LzmaEnc.c | |
LzmaLib.c | |
Linking clzma | |
==== Building ygopro (debug) ==== | |
Creating ../obj/Debug/ygopro | |
CGUIButton.cpp | |
CGUIEditBox.cpp | |
CGUIImageButton.cpp | |
CGUITTFont.cpp | |
client_card.cpp | |
client_field.cpp | |
data_manager.cpp | |
deck_con.cpp | |
deck_manager.cpp | |
drawing.cpp | |
duelclient.cpp | |
event_handler.cpp | |
game.cpp | |
gframe.cpp | |
image_manager.cpp | |
ter count (%d expected, %ud pushed)", param_count, params.size()); | |
~~ ^~~~~~~~~~~~~ | |
%lu | |
../ocgcore/interpreter.cpp:763:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] | |
sprintf(pduel->strbuffer, lua_tostring(current_state, -1)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/lua.h:346:27: note: expanded from macro 'lua_tostring' | |
#define lua_tostring(L,i) lua_tolstring(L, (i), NULL) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../ocgcore/interpreter.cpp:803:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] | |
sprintf(pduel->strbuffer, lua_tostring(current_state, -1)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/lua.h:346:27: note: expanded from macro 'lua_tostring' | |
#define lua_tostring(L,i) lua_tolstring(L, (i), NULL) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../ocgcore/interpreter.cpp:843:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] | |
sprintf(pduel->strbuffer, lua_tostring(current_state, -1)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/lua.h:346:27: note: expanded from macro 'lua_tostring' | |
#define lua_tostring(L,i) lua_tolstring(L, (i), NULL) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../ocgcore/interpreter.cpp:900:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] | |
sprintf(pduel->strbuffer, lua_tostring(current_state, -1)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/lua.h:346:27: note: expanded from macro 'lua_tostring' | |
#define lua_tostring(L,i) lua_tolstring(L, (i), NULL) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../ocgcore/interpreter.cpp:932:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] | |
sprintf(pduel->strbuffer, lua_tostring(current_state, -1)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/lua.h:346:27: note: expanded from macro 'lua_tostring' | |
#define lua_tostring(L,i) lua_tolstring(L, (i), NULL) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../ocgcore/interpreter.cpp:1043:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] | |
sprintf(pduel->strbuffer, lua_tostring(rthread, -1)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/lua.h:346:27: note: expanded from macro 'lua_tostring' | |
#define lua_tostring(L,i) lua_tolstring(L, (i), NULL) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
8 warnings generated. | |
../ocgcore/playerop.cpp:58:8: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] | |
if(t < 0 || t > 3 || s < 0 | |
~ ^ ~ | |
../ocgcore/playerop.cpp:58:26: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] | |
if(t < 0 || t > 3 || s < 0 | |
~ ^ ~ | |
../ocgcore/playerop.cpp:150:8: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] | |
if(t < 0 || t > 8 || s < 0 | |
~ ^ ~ | |
../ocgcore/playerop.cpp:150:26: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] | |
if(t < 0 || t > 8 || s < 0 | |
~ ^ ~ | |
4 warnings generated. | |
../ocgcore/processor.cpp:4199:34: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] | |
if((phandler->current.location == LOCATION_HAND)) | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | |
../ocgcore/processor.cpp:4199:34: note: remove extraneous parentheses around the comparison to silence this warning | |
if((phandler->current.location == LOCATION_HAND)) | |
~ ^ ~ | |
../ocgcore/processor.cpp:4199:34: note: use '=' to turn this equality comparison into an assignment | |
if((phandler->current.location == LOCATION_HAND)) | |
^~ | |
= | |
1 warning generated. | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../bin/debug/libocgcore.a(mem.o) has no symbols | |
../gframe/duelclient.cpp:314:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/playerenter.wav"); | |
^ | |
../gframe/duelclient.cpp:604:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/playerenter.wav"); | |
^ | |
../gframe/duelclient.cpp:638:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/playerenter.wav"); | |
^ | |
../gframe/duelclient.cpp:1610:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/shuffle.wav"); | |
^ | |
../gframe/duelclient.cpp:1801:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/nextturn.wav"); | |
^ | |
../gframe/duelclient.cpp:1826:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/phase.wav"); | |
^ | |
../gframe/duelclient.cpp:2100:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/set.wav"); | |
^ | |
../gframe/duelclient.cpp:2153:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/summon.wav"); | |
^ | |
../gframe/duelclient.cpp:2176:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/specialsummon.wav"); | |
^ | |
../gframe/duelclient.cpp:2198:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/flip.wav"); | |
^ | |
../gframe/duelclient.cpp:2226:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/activate.wav"); | |
^ | |
../gframe/duelclient.cpp:2399:25: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/draw.wav"); | |
^ | |
../gframe/duelclient.cpp:2416:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/damage.wav"); | |
^ | |
../gframe/duelclient.cpp:2447:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/gainlp.wav"); | |
^ | |
../gframe/duelclient.cpp:2476:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/equip.wav"); | |
^ | |
../gframe/duelclient.cpp:2594:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/damage.wav"); | |
^ | |
../gframe/duelclient.cpp:2621:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/addcounter.wav"); | |
^ | |
../gframe/duelclient.cpp:2644:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/removecounter.wav"); | |
^ | |
../gframe/duelclient.cpp:2667:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/attack.wav"); | |
^ | |
../gframe/duelclient.cpp:2776:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/coinflip.wav"); | |
^ | |
../gframe/duelclient.cpp:2800:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
mainGame->PlaySound("./sound/diceroll.wav"); | |
^ | |
21 warnings generated. | |
../gframe/event_handler.cpp:1682:25: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] | |
if(hovered_sequence < 0) | |
~~~~~~~~~~~~~~~~ ^ ~ | |
../gframe/event_handler.cpp:1688:25: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] | |
if(hovered_sequence < 0) | |
~~~~~~~~~~~~~~~~ ^ ~ | |
2 warnings generated. | |
../gframe/game.cpp:583:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
Game::PlayMusic("./sound/duelwin.mp3",true); | |
^ | |
../gframe/game.cpp:585:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
Game::PlayMusic("./sound/duellose.mp3",true); | |
^ | |
../gframe/game.cpp:587:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
Game::PlayMusic("./sound/song-disadvantage.mp3",true); | |
^ | |
../gframe/game.cpp:589:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
Game::PlayMusic("./sound/song-advantage.mp3",true); | |
^ | |
../gframe/game.cpp:591:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
Game::PlayMusic("./sound/song.mp3",true); | |
^ | |
../gframe/game.cpp:600:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
Game::PlayMusic("./sound/deck.mp3",true); | |
^ | |
../gframe/game.cpp:603:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] | |
Game::PlayMusic("./sound/menu.mp3",true); | |
^ | |
In file included from ../gframe/game.cpp:1: | |
In file included from ../gframe/config.h:49: | |
In file included from /usr/local/include/irrlicht/irrlicht.h:34: | |
In file included from /usr/local/include/irrlicht/CDynamicMeshBuffer.h:8: | |
In file included from /usr/local/include/irrlicht/IDynamicMeshBuffer.h:8: | |
In file included from /usr/local/include/irrlicht/IMeshBuffer.h:9: | |
In file included from /usr/local/include/irrlicht/SMaterial.h:9: | |
In file included from /usr/local/include/irrlicht/matrix4.h:14: | |
/usr/local/include/irrlicht/irrString.h:378:15: warning: cast to 'char *' from smaller integer type 'char' [-Wint-to-pointer-cast] | |
array[l] = (T)c[l]; | |
^ | |
/usr/local/include/irrlicht/irrString.h:299:9: note: in instantiation of function template specialization 'irr::core::string<char *, irr::core::irrAllocator<char *> >::operator=<char>' requested here | |
*this = c; | |
^ | |
../gframe/game.cpp:42:35: note: in instantiation of function template specialization 'irr::core::string<char *, irr::core::irrAllocator<char *> >::string<char>' requested here | |
skinSystem = new CGUISkinSystem("skins", device); | |
^ | |
8 warnings generated. | |
../gframe/image_manager.cpp:157:19: error: assigning to 'char *' from incompatible type 'const char [11]' | |
sleeve->fakename = player == 0 ? "cover0.jpg" : "cover1.jpg"; | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
1 error generated. | |
make[1]: *** [../obj/Debug/ygopro/image_manager.o] Error 1 | |
make: *** [ygopro] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment