Created
May 31, 2015 21:16
-
-
Save kevingranade/5a70bedc4da4b4977fb4 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
g++ -DLOCALIZE -Wall -Wextra -g -D_GLIBCXX_DEBUG --std=c++11 -MMD -c src/mission_companion.cpp -o obj/mission_companion.o | |
src/mission_companion.cpp: In function 'void talk_function::companion_mission(npc*)': | |
src/mission_companion.cpp:31:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (p->name.find("Scavenger Boss") != -1){ | |
^ | |
src/mission_companion.cpp:35:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (p->name.find("Crop Overseer") != -1){ | |
^ | |
src/mission_companion.cpp:39:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (p->name.find("Foreman") != -1){ | |
^ | |
src/mission_companion.cpp: In function 'void talk_function::caravan_return(npc*, std::string, std::string)': | |
src/mission_companion.cpp:435:10: warning: variable 'survived' set but not used [-Wunused-but-set-variable] | |
bool survived = false; | |
^ | |
src/mission_companion.cpp: In function 'void talk_function::field_plant(npc*, std::string)': | |
src/mission_companion.cpp:651:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (limiting_number*300 > g->u.cash){ | |
^ | |
src/mission_companion.cpp: In function 'void talk_function::field_harvest(npc*, std::string)': | |
src/mission_companion.cpp:768:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (number_plots*2 > g->u.cash){ | |
^ | |
src/mission_companion.cpp: In function 'bool talk_function::carpenter_return(npc*)': | |
src/mission_companion.cpp:1008:54: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: | |
if (comp->skillLevel( "carpentry" ) > rng(1,8)){ | |
^ | |
In file included from src/creature.h:6:0, | |
from src/character.h:4, | |
from src/player.h:4, | |
from src/npc.h:4, | |
from src/mission_companion.cpp:1: | |
src/skill.h:151:14: note: candidate 1: bool SkillLevel::operator>(const int&) const | |
bool operator> (const int &b) const | |
^ | |
src/mission_companion.cpp:1008:54: note: candidate 2: operator>(int, long int) <built-in> | |
if (comp->skillLevel( "carpentry" ) > rng(1,8)){ | |
^ | |
src/mission_companion.cpp:1010:57: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: | |
} else if (comp->skillLevel( "dodge" ) > rng(1,8)) { | |
^ | |
In file included from src/creature.h:6:0, | |
from src/character.h:4, | |
from src/player.h:4, | |
from src/npc.h:4, | |
from src/mission_companion.cpp:1: | |
src/skill.h:151:14: note: candidate 1: bool SkillLevel::operator>(const int&) const | |
bool operator> (const int &b) const | |
^ | |
src/mission_companion.cpp:1010:57: note: candidate 2: operator>(int, long int) <built-in> | |
} else if (comp->skillLevel( "dodge" ) > rng(1,8)) { | |
^ | |
src/mission_companion.cpp:1012:60: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: | |
} else if (comp->skillLevel( "survival" ) > rng(1,8)) { | |
^ | |
In file included from src/creature.h:6:0, | |
from src/character.h:4, | |
from src/player.h:4, | |
from src/npc.h:4, | |
from src/mission_companion.cpp:1: | |
src/skill.h:151:14: note: candidate 1: bool SkillLevel::operator>(const int&) const | |
bool operator> (const int &b) const | |
^ | |
src/mission_companion.cpp:1012:60: note: candidate 2: operator>(int, long int) <built-in> | |
} else if (comp->skillLevel( "survival" ) > rng(1,8)) { | |
^ | |
src/mission_companion.cpp: In function 'bool talk_function::forage_return(npc*)': | |
src/mission_companion.cpp:1059:54: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: | |
if (comp->skillLevel( "survival" ) > rng(-2,8)){ | |
^ | |
In file included from src/creature.h:6:0, | |
from src/character.h:4, | |
from src/player.h:4, | |
from src/npc.h:4, | |
from src/mission_companion.cpp:1: | |
src/skill.h:151:14: note: candidate 1: bool SkillLevel::operator>(const int&) const | |
bool operator> (const int &b) const | |
^ | |
src/mission_companion.cpp:1059:54: note: candidate 2: operator>(int, long int) <built-in> | |
if (comp->skillLevel( "survival" ) > rng(-2,8)){ | |
^ | |
src/mission_companion.cpp:1061:58: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: | |
} else if (comp->skillLevel( "dodge" ) > rng(-2,8)){ | |
^ | |
In file included from src/creature.h:6:0, | |
from src/character.h:4, | |
from src/player.h:4, | |
from src/npc.h:4, | |
from src/mission_companion.cpp:1: | |
src/skill.h:151:14: note: candidate 1: bool SkillLevel::operator>(const int&) const | |
bool operator> (const int &b) const | |
^ | |
src/mission_companion.cpp:1061:58: note: candidate 2: operator>(int, long int) <built-in> | |
} else if (comp->skillLevel( "dodge" ) > rng(-2,8)){ | |
^ | |
src/mission_companion.cpp:1112:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: | |
if (comp->skillLevel( "survival" ) > rng(-.5,8)){ | |
^ | |
In file included from src/creature.h:6:0, | |
from src/character.h:4, | |
from src/player.h:4, | |
from src/npc.h:4, | |
from src/mission_companion.cpp:1: | |
src/skill.h:151:14: note: candidate 1: bool SkillLevel::operator>(const int&) const | |
bool operator> (const int &b) const | |
^ | |
src/mission_companion.cpp:1112:51: note: candidate 2: operator>(int, long int) <built-in> | |
if (comp->skillLevel( "survival" ) > rng(-.5,8)){ | |
^ | |
src/mission_companion.cpp: In function 'std::__debug::vector<item*> talk_function::loot_building(tripoint)': | |
src/mission_companion.cpp:1370:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for (int i = 0; i < bay.i_at(p).size(); i++){ | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment