mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Added the -Wextra-semi warning to the projucer build
This commit is contained in:
parent
d36156c620
commit
926652be8a
7 changed files with 10 additions and 10 deletions
|
|
@ -737,7 +737,7 @@
|
|||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.9;
|
||||
MACOSX_DEPLOYMENT_TARGET_ppc = 10.4;
|
||||
OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion";
|
||||
OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion -Wextra-semi";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.juce.theprojucer;
|
||||
SDKROOT_ppc = macosx10.5; }; name = Debug; };
|
||||
0BC15DC2E5FE5ECFFB398D49 = {isa = XCBuildConfiguration; buildSettings = {
|
||||
|
|
@ -769,7 +769,7 @@
|
|||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||
MACOSX_DEPLOYMENT_TARGET_ppc = 10.4;
|
||||
OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion";
|
||||
OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion -Wextra-semi";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.juce.theprojucer;
|
||||
SDKROOT_ppc = macosx10.5; }; name = Release; };
|
||||
C42924A24AB55E6A940423EA = {isa = XCBuildConfiguration; buildSettings = {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<EXPORTFORMATS>
|
||||
<XCODE_MAC targetFolder="Builds/MacOSX" vstFolder="~/SDKs/vstsdk2.4" rtasFolder="~/SDKs/PT_80_SDK"
|
||||
documentExtensions=".jucer" objCExtraSuffix="zkVtji" bigIcon="OCyr5F"
|
||||
smallIcon="" extraLinkerFlags="" extraCompilerFlags="-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion"
|
||||
smallIcon="" extraLinkerFlags="" extraCompilerFlags="-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion -Wextra-semi"
|
||||
customPList="<plist> <dict> 	<key>NSAppTransportSecurity</key> 	<dict> 		<key>NSAllowsArbitraryLoads</key> 		<true/> 		<key>NSExceptionDomains</key> 		<dict> 			<key>amazonaws.com</key> 			<dict> 				<key>NSExceptionAllowsInsecureHTTPLoads</key> 				<true/> 				<key>NSIncludesSubdomains</key> 				<true/> 			</dict> 		</dict> 	</dict> </dict> </plist>"
|
||||
extraFrameworks="AudioUnit; Accelerate; AVFoundation; CoreAudio; CoreAudioKit; CoreMIDI; DiscRecording; QuartzCore; AudioToolbox; OpenGL; QTKit; QuickTime">
|
||||
<CONFIGURATIONS>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ struct ProjucerLicenses : private DeletedAtShutdown
|
|||
dll.initialise (crashCallback, quitCallback, false);
|
||||
}
|
||||
|
||||
juce_DeclareSingleton (ProjucerLicenses, false);
|
||||
juce_DeclareSingleton (ProjucerLicenses, false)
|
||||
|
||||
//==============================================================================
|
||||
struct LoginCallback
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ struct CompileEngineDLL
|
|||
typedef returnType (*name##_type) params; \
|
||||
name##_type name = nullptr;
|
||||
|
||||
LIVE_DLL_FUNCTIONS (DECLARE_LIVE_DLL_FN);
|
||||
LIVE_DLL_FUNCTIONS (DECLARE_LIVE_DLL_FN)
|
||||
|
||||
#undef DECLARE_LIVE_DLL_FN
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ public:
|
|||
virtual bool isIconCrossedOut() const { return false; }
|
||||
virtual void paintIcon (Graphics& g, Rectangle<int> area) { getIcon().draw (g, area.reduced (2).toFloat(), isIconCrossedOut()); }
|
||||
virtual void paintContent (Graphics& g, const Rectangle<int>& area);
|
||||
virtual int getMillisecsAllowedForDragGesture() { return 120; };
|
||||
virtual int getMillisecsAllowedForDragGesture() { return 120; }
|
||||
virtual File getDraggableFile() const { return {}; }
|
||||
|
||||
void refreshSubItems();
|
||||
|
|
|
|||
|
|
@ -230,8 +230,8 @@ public:
|
|||
void createCopy (ValueUnion& dest, const ValueUnion& source) const override { new (dest.stringValue) String (*getString (source)); }
|
||||
|
||||
bool isString() const noexcept override { return true; }
|
||||
int toInt (const ValueUnion& data) const noexcept override { return getString (data)->getIntValue(); };
|
||||
int64 toInt64 (const ValueUnion& data) const noexcept override { return getString (data)->getLargeIntValue(); };
|
||||
int toInt (const ValueUnion& data) const noexcept override { return getString (data)->getIntValue(); }
|
||||
int64 toInt64 (const ValueUnion& data) const noexcept override { return getString (data)->getLargeIntValue(); }
|
||||
double toDouble (const ValueUnion& data) const noexcept override { return getString (data)->getDoubleValue(); }
|
||||
String toString (const ValueUnion& data) const override { return *getString (data); }
|
||||
bool toBool (const ValueUnion& data) const noexcept override { return getString (data)->getIntValue() != 0
|
||||
|
|
|
|||
|
|
@ -938,7 +938,7 @@ public:
|
|||
|
||||
lastRepaintTime = Time::getMillisecondCounter();
|
||||
deferredRepaints.clear();
|
||||
};
|
||||
}
|
||||
|
||||
void invokePaint (LowLevelGraphicsContext& context)
|
||||
{
|
||||
|
|
@ -1622,7 +1622,7 @@ private:
|
|||
|
||||
static BOOL acceptsFirstMouse (id, SEL, NSEvent*) { return YES; }
|
||||
static BOOL wantsDefaultClipping (id, SEL) { return YES; } // (this is the default, but may want to customise it in future)
|
||||
static BOOL worksWhenModal (id self, SEL) { if (NSViewComponentPeer* p = getOwner (self)) return p->worksWhenModal(); return NO; };
|
||||
static BOOL worksWhenModal (id self, SEL) { if (NSViewComponentPeer* p = getOwner (self)) return p->worksWhenModal(); return NO; }
|
||||
|
||||
static void drawRect (id self, SEL, NSRect r) { if (NSViewComponentPeer* p = getOwner (self)) p->drawRect (r); }
|
||||
static void frameChanged (id self, SEL, NSNotification*) { if (NSViewComponentPeer* p = getOwner (self)) p->redirectMovedOrResized(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue