Fix all the compile warnings that occur on Mac.

(Except the OpenGL deprecation warning and some warnings coming from Boost.Process.)
This commit is contained in:
2025-03-08 20:43:04 -05:00
parent 67fbb4fae5
commit 5cfc6ba328
17 changed files with 41 additions and 27 deletions

View File

@@ -458,7 +458,8 @@ bool verify_restore_quit(std::string dlog) {
return true;
}
void display_skills(eSkill skill,cDialog* parent, bool record) {
void display_skills(eSkill skill,cDialog* parent, bool);
void display_skills(eSkill skill,cDialog* parent, bool) {
extern std::map<eSkill,short> skill_cost;
extern std::map<eSkill,short> skill_max;
extern std::map<eSkill,short> skill_g_cost;
@@ -569,4 +570,4 @@ void pick_preferences() {
fs::path run_file_picker(bool saving){
return os_file_picker(saving);
}
}