From b58d5da64d889b8b4e11b115fcf76040705b34df Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 14 Oct 2013 15:47:49 +0100 Subject: [PATCH] Introjucer: fixed some compiler warnings. --- .../Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj | 4 ++-- extras/Introjucer/Introjucer.jucer | 2 +- extras/Introjucer/Source/Project/jucer_ConfigTree_Modules.h | 2 +- extras/Introjucer/Source/Project/jucer_ModulesPanel.h | 2 +- extras/Introjucer/Source/Project/jucer_ProjectTree_Base.h | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj b/extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj index 85e387f1d6..359a89689d 100644 --- a/extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj +++ b/extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj @@ -1867,7 +1867,7 @@ HEADER_SEARCH_PATHS = "../../JuceLibraryCode ../../../../modules $(inherited)"; GCC_OPTIMIZATION_LEVEL = 0; INFOPLIST_FILE = Info.plist; - OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing"; + OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter"; INSTALL_PATH = "$(HOME)/Applications"; CONFIGURATION_BUILD_DIR = "$(PROJECT_DIR)/build/$(CONFIGURATION)"; MACOSX_DEPLOYMENT_TARGET_ppc = 10.4; @@ -1888,7 +1888,7 @@ HEADER_SEARCH_PATHS = "../../JuceLibraryCode ../../../../modules $(inherited)"; GCC_OPTIMIZATION_LEVEL = 3; INFOPLIST_FILE = Info.plist; - OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing"; + OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter"; INSTALL_PATH = "$(HOME)/Applications"; CONFIGURATION_BUILD_DIR = "$(PROJECT_DIR)/build/$(CONFIGURATION)"; MACOSX_DEPLOYMENT_TARGET = 10.5; diff --git a/extras/Introjucer/Introjucer.jucer b/extras/Introjucer/Introjucer.jucer index 945d85f5dc..6161b85619 100644 --- a/extras/Introjucer/Introjucer.jucer +++ b/extras/Introjucer/Introjucer.jucer @@ -15,7 +15,7 @@ + extraCompilerFlags="-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter"> diff --git a/extras/Introjucer/Source/Project/jucer_ConfigTree_Modules.h b/extras/Introjucer/Source/Project/jucer_ConfigTree_Modules.h index 3ce98f4ee0..b795e13e0f 100644 --- a/extras/Introjucer/Source/Project/jucer_ConfigTree_Modules.h +++ b/extras/Introjucer/Source/Project/jucer_ConfigTree_Modules.h @@ -304,7 +304,7 @@ public: return false; } - void filesDropped (const StringArray& files, int insertIndex) override + void filesDropped (const StringArray& files, int /*insertIndex*/) override { Array modules; diff --git a/extras/Introjucer/Source/Project/jucer_ModulesPanel.h b/extras/Introjucer/Source/Project/jucer_ModulesPanel.h index f0c8dab06b..13775dfbd1 100644 --- a/extras/Introjucer/Source/Project/jucer_ModulesPanel.h +++ b/extras/Introjucer/Source/Project/jucer_ModulesPanel.h @@ -89,7 +89,7 @@ public: g.fillRect (0, 0, width, height - 1); } - void paintCell (Graphics& g, int rowNumber, int columnId, int width, int height, bool rowIsSelected) override + void paintCell (Graphics& g, int rowNumber, int columnId, int width, int height, bool /*rowIsSelected*/) override { String text; const String moduleID (project.getModules().getModuleID (rowNumber)); diff --git a/extras/Introjucer/Source/Project/jucer_ProjectTree_Base.h b/extras/Introjucer/Source/Project/jucer_ProjectTree_Base.h index de5f97c786..31d89f42a1 100644 --- a/extras/Introjucer/Source/Project/jucer_ProjectTree_Base.h +++ b/extras/Introjucer/Source/Project/jucer_ProjectTree_Base.h @@ -173,7 +173,7 @@ public: p->addFiles (files, insertIndex); } - virtual void moveSelectedItemsTo (OwnedArray & selectedNodes, int insertIndex) + virtual void moveSelectedItemsTo (OwnedArray &, int /*insertIndex*/) { jassertfalse; } @@ -216,7 +216,7 @@ public: } //============================================================================== - void valueTreePropertyChanged (ValueTree& tree, const Identifier& property) override + void valueTreePropertyChanged (ValueTree& tree, const Identifier&) override { if (tree == item.state) repaintItem();