1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

Increased the warning level when building DemoRunner on iOS

This commit is contained in:
Tom Poole 2018-04-23 17:50:04 +01:00
parent 1e23f5fa25
commit 3a373cfa06
8 changed files with 10 additions and 5 deletions

View file

@ -305,7 +305,7 @@ public:
#if JUCE_IOS
connectButton.setButtonText ("Connect");
connectButton.onClick = [this] { BluetoothMidiDevicePairingDialogue::open(); };
connectButton.onClick = [] { BluetoothMidiDevicePairingDialogue::open(); };
connectButton.setAlwaysOnTop (true);
addAndMakeVisible (connectButton);
#endif

View file

@ -597,7 +597,7 @@ public:
#if JUCE_IOS
connectButton.setButtonText ("Connect");
connectButton.onClick = [this] { BluetoothMidiDevicePairingDialogue::open(); };
connectButton.onClick = [] { BluetoothMidiDevicePairingDialogue::open(); };
connectButton.setAlwaysOnTop (true);
addAndMakeVisible (connectButton);
#endif

View file

@ -596,7 +596,7 @@ public:
#if JUCE_IOS
connectButton.setButtonText ("Connect");
connectButton.onClick = [this] { BluetoothMidiDevicePairingDialogue::open(); };
connectButton.onClick = [] { BluetoothMidiDevicePairingDialogue::open(); };
addAndMakeVisible (connectButton);
#endif

View file

@ -255,6 +255,7 @@
INFOPLIST_FILE = Info-App.plist;
INFOPLIST_PREPROCESS = NO;
INSTALL_PATH = "$(HOME)/Applications";
OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Wconditional-uninitialized -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion -Wunused-private-field -Wbool-conversion -Wextra-semi -Wno-ignored-qualifiers -Wunreachable-code";
PRODUCT_BUNDLE_IDENTIFIER = com.roli.juce.demorunner;
USE_HEADERMAP = NO; }; name = Debug; };
69330F27DD2C71609336C7D2 = {isa = XCBuildConfiguration; buildSettings = {
@ -291,6 +292,7 @@
INFOPLIST_PREPROCESS = NO;
INSTALL_PATH = "$(HOME)/Applications";
LLVM_LTO = YES;
OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Wconditional-uninitialized -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion -Wunused-private-field -Wbool-conversion -Wextra-semi -Wno-ignored-qualifiers -Wunreachable-code";
PRODUCT_BUNDLE_IDENTIFIER = com.roli.juce.demorunner;
USE_HEADERMAP = NO; }; name = Release; };
C01EC82F42B640CA1E54AD53 = {isa = XCBuildConfiguration; buildSettings = {

View file

@ -122,7 +122,7 @@
<XCODE_IPHONE targetFolder="Builds/iOS" iosScreenOrientation="landscape" iPadScreenOrientation="landscape"
UISupportsDocumentBrowser="1" microphonePermissionNeeded="1"
iCloudPermissions="1" UIFileSharingEnabled="1" customXcodeResourceFolders="../Assets"
smallIcon="YyqWd2" bigIcon="YyqWd2">
smallIcon="YyqWd2" bigIcon="YyqWd2" extraCompilerFlags="-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Wconditional-uninitialized -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion -Wunused-private-field -Wbool-conversion -Wextra-semi -Wno-ignored-qualifiers -Wunreachable-code">
<CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug"/>
<CONFIGURATION isDebug="0" name="Release"/>

View file

@ -93,6 +93,8 @@ public:
// (This function call is for one of the demos, which involves launching a child process)
if (invokeChildProcessDemo (commandLine))
return;
#else
ignoreUnused (commandLine);
#endif
mainWindow.reset (new MainAppWindow (getApplicationName()));

View file

@ -971,6 +971,7 @@ bool File::createSymbolicLink (const File& linkFileToCreate,
nativePathOfTarget.toWideCharPointer(),
targetFile.isDirectory() ? SYMBOLIC_LINK_FLAG_DIRECTORY : 0) != FALSE;
#else
ignoreUnused (nativePathOfTarget);
jassertfalse; // symbolic links not supported on this platform!
return false;
#endif

View file

@ -135,7 +135,7 @@ namespace juce
}
}];
MessageManager::callAsync ([self,application,app] { app->suspended(); });
MessageManager::callAsync ([app] { app->suspended(); });
#else
ignoreUnused (application);
app->suspended();