Browse Source

Introjucer: fixed some compiler warnings.

tags/2021-05-28
jules 11 years ago
parent
commit
b58d5da64d
5 changed files with 7 additions and 7 deletions
  1. +2
    -2
      extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj
  2. +1
    -1
      extras/Introjucer/Introjucer.jucer
  3. +1
    -1
      extras/Introjucer/Source/Project/jucer_ConfigTree_Modules.h
  4. +1
    -1
      extras/Introjucer/Source/Project/jucer_ModulesPanel.h
  5. +2
    -2
      extras/Introjucer/Source/Project/jucer_ProjectTree_Base.h

+ 2
- 2
extras/Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.pbxproj View File

@@ -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;


+ 1
- 1
extras/Introjucer/Introjucer.jucer View File

@@ -15,7 +15,7 @@
<EXPORTFORMATS>
<XCODE_MAC targetFolder="Builds/MacOSX" vstFolder="~/SDKs/vstsdk2.4" rtasFolder="~/SDKs/PT_80_SDK"
documentExtensions=".jucer" objCExtraSuffix="zNNCr" bigIcon="rVgowdy"
extraCompilerFlags="-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing">
extraCompilerFlags="-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter">
<CONFIGURATIONS>
<CONFIGURATION name="Debug" isDebug="1" optimisation="1" targetName="Introjucer"
osxSDK="default" osxCompatibility="default" osxArchitecture="default"/>


+ 1
- 1
extras/Introjucer/Source/Project/jucer_ConfigTree_Modules.h View File

@@ -304,7 +304,7 @@ public:
return false;
}
void filesDropped (const StringArray& files, int insertIndex) override
void filesDropped (const StringArray& files, int /*insertIndex*/) override
{
Array<ModuleDescription> modules;


+ 1
- 1
extras/Introjucer/Source/Project/jucer_ModulesPanel.h View File

@@ -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));


+ 2
- 2
extras/Introjucer/Source/Project/jucer_ProjectTree_Base.h View File

@@ -173,7 +173,7 @@ public:
p->addFiles (files, insertIndex);
}
virtual void moveSelectedItemsTo (OwnedArray <Project::Item>& selectedNodes, int insertIndex)
virtual void moveSelectedItemsTo (OwnedArray <Project::Item>&, 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();


Loading…
Cancel
Save