Skip to content

Instantly share code, notes, and snippets.

@Botje
Created June 24, 2016 11:52
Show Gist options
  • Save Botje/909842c21cfb71dd7c3970fba191287d to your computer and use it in GitHub Desktop.
Save Botje/909842c21cfb71dd7c3970fba191287d to your computer and use it in GitHub Desktop.
root@3a9de5a7483b:/tmp/scummvm-master/build# make -k engines/dm/libdm.a
fatal: Not a git repository (or any of the parent directories): .git
C++ engines/dm/detection.o
../engines/dm/detection.cpp:55:26: warning: 'DM::fallbackDesc' defined but not used [-Wunused-variable]
static ADGameDescription fallbackDesc = {
^
C++ engines/dm/dm.o
C++ engines/dm/gfx.o
C++ engines/dm/dungeonman.o
../engines/dm/dungeonman.cpp: In member function 'void DM::DungeonMan::setSquareAspect(uint16*, DM::direction, int16, int16)':
../engines/dm/dungeonman.cpp:927:17: warning: unused variable 'scentOrdinal' [-Wunused-variable]
unsigned char scentOrdinal; // see next line comment
^
../engines/dm/dungeonman.cpp: In member function 'uint16 DM::DungeonMan::getObjectWeight(DM::Thing)':
../engines/dm/dungeonman.cpp:1206:46: warning: comparison between 'enum DM::JunkType' and 'enum DM::PotionType' [-Wenum-compare]
if (Junk(getThingData(thing)).getType() == kPotionTypeEmptyFlask) {
^
C++ engines/dm/eventman.o
../engines/dm/eventman.cpp: In member function 'void DM::EventManager::commandProcessType80ClickInDungeonViewTouchFrontWall()':
../engines/dm/eventman.cpp:514:12: warning: comparison is always true due to limited range of data type [-Wtype-limits]
if ((mapX >= 0)
^
../engines/dm/eventman.cpp:516:12: warning: comparison is always true due to limited range of data type [-Wtype-limits]
&& (mapY >= 0)
^
../engines/dm/eventman.cpp: In member function 'void DM::EventManager::commandProcessCommands160To162ClickInResurrectReincarnatePanel(DM::CommandType)':
../engines/dm/eventman.cpp:681:8: warning: unused variable 'champColor' [-Wunused-variable]
Color champColor = gChampionColor[championIndex]; // unreferenced because of m
^
../engines/dm/eventman.cpp: In member function 'void DM::EventManager::commandProcess81ClickInPanel(int16, int16)':
../engines/dm/eventman.cpp:695:9: warning: enumeration value 'kPanelContentFoodWaterPoisoned' not handled in switch [-Wswitch]
switch (invMan._panelContent) {
^
../engines/dm/eventman.cpp:695:9: warning: enumeration value 'kPanelContentScroll' not handled in switch [-Wswitch]
../engines/dm/eventman.cpp: At global scope:
../engines/dm/eventman.cpp:713:2: warning: extra ';' [-Wpedantic]
}; // end of namespace DM
^
C++ engines/dm/menus.o
C++ engines/dm/champion.o
C++ engines/dm/loadsave.o
C++ engines/dm/objectman.o
../engines/dm/objectman.cpp: In member function 'DM::IconIndice DM::ObjectMan::getIconIndex(DM::Thing)':
../engines/dm/objectman.cpp:110:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if ((iconIndex != kIconIndiceNone) &&
^
C++ engines/dm/inventory.o
C++ engines/dm/text.o
C++ engines/dm/movesens.o
AR engines/dm/libdm.a
ar: `u' modifier ignored since `D' is the default (see `U')
RANLIB engines/dm/libdm.a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment