diff --git a/examples/Audio/AudioAppDemo.h b/examples/Audio/AudioAppDemo.h index d1db7ab1a1..f08e575027 100644 --- a/examples/Audio/AudioAppDemo.h +++ b/examples/Audio/AudioAppDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: AudioAppDemo diff --git a/examples/Audio/AudioLatencyDemo.h b/examples/Audio/AudioLatencyDemo.h index 45733d37d4..35cf114f3f 100644 --- a/examples/Audio/AudioLatencyDemo.h +++ b/examples/Audio/AudioLatencyDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: AudioLatencyDemo diff --git a/examples/Audio/AudioRecordingDemo.h b/examples/Audio/AudioRecordingDemo.h index 8266a0d1d7..38f9d8effb 100644 --- a/examples/Audio/AudioRecordingDemo.h +++ b/examples/Audio/AudioRecordingDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: AudioRecordingDemo diff --git a/examples/Audio/AudioSettingsDemo.h b/examples/Audio/AudioSettingsDemo.h index d93377bc0f..5118b6b602 100644 --- a/examples/Audio/AudioSettingsDemo.h +++ b/examples/Audio/AudioSettingsDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: AudioSettingsDemo diff --git a/examples/Audio/AudioSynthesiserDemo.h b/examples/Audio/AudioSynthesiserDemo.h index 5e1e7cad52..ddb90b1bd7 100644 --- a/examples/Audio/AudioSynthesiserDemo.h +++ b/examples/Audio/AudioSynthesiserDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: AudioSynthesiserDemo diff --git a/examples/Audio/MPEDemo.h b/examples/Audio/MPEDemo.h index e1e2c5c4ec..d6c7fa3c69 100644 --- a/examples/Audio/MPEDemo.h +++ b/examples/Audio/MPEDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: MPEDemo diff --git a/examples/Audio/MidiDemo.h b/examples/Audio/MidiDemo.h index c66369e9f0..3d3df92cf0 100644 --- a/examples/Audio/MidiDemo.h +++ b/examples/Audio/MidiDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, xcode_iphone, androidstudio + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: MidiDemo diff --git a/examples/Audio/PluckedStringsDemo.h b/examples/Audio/PluckedStringsDemo.h index cf3b02b967..d53701a33e 100644 --- a/examples/Audio/PluckedStringsDemo.h +++ b/examples/Audio/PluckedStringsDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017 + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: PluckedStringsDemo diff --git a/examples/Audio/SimpleFFTDemo.h b/examples/Audio/SimpleFFTDemo.h index 2f99a29c1a..4fa8d5d0f4 100644 --- a/examples/Audio/SimpleFFTDemo.h +++ b/examples/Audio/SimpleFFTDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017 + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: SimpleFFTDemo diff --git a/examples/BLOCKS/BlocksDrawingDemo.h b/examples/BLOCKS/BlocksDrawingDemo.h index 5ea9708c25..902a722f7c 100644 --- a/examples/BLOCKS/BlocksDrawingDemo.h +++ b/examples/BLOCKS/BlocksDrawingDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: BlocksDrawingDemo diff --git a/examples/BLOCKS/BlocksMonitorDemo.h b/examples/BLOCKS/BlocksMonitorDemo.h index 7c32040b70..2e1e4f3fca 100644 --- a/examples/BLOCKS/BlocksMonitorDemo.h +++ b/examples/BLOCKS/BlocksMonitorDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: BlocksMonitorDemo diff --git a/examples/BLOCKS/BlocksSynthDemo.h b/examples/BLOCKS/BlocksSynthDemo.h index b6a0f62479..ba083659ee 100644 --- a/examples/BLOCKS/BlocksSynthDemo.h +++ b/examples/BLOCKS/BlocksSynthDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: BlocksSynthDemo diff --git a/examples/DSP/ConvolutionDemo.h b/examples/DSP/ConvolutionDemo.h index d9db0aef0b..2f99f3e01f 100644 --- a/examples/DSP/ConvolutionDemo.h +++ b/examples/DSP/ConvolutionDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: ConvolutionDemo diff --git a/examples/DSP/FIRFilterDemo.h b/examples/DSP/FIRFilterDemo.h index bcb9ce5510..3964271fe9 100644 --- a/examples/DSP/FIRFilterDemo.h +++ b/examples/DSP/FIRFilterDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: FIRFilterDemo diff --git a/examples/DSP/GainDemo.h b/examples/DSP/GainDemo.h index 72ee5eb300..cd4566f463 100644 --- a/examples/DSP/GainDemo.h +++ b/examples/DSP/GainDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: GainDemo diff --git a/examples/DSP/IIRFilterDemo.h b/examples/DSP/IIRFilterDemo.h index fe885fe3f2..2bad711f2f 100644 --- a/examples/DSP/IIRFilterDemo.h +++ b/examples/DSP/IIRFilterDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: IIRFilterDemo diff --git a/examples/DSP/OscillatorDemo.h b/examples/DSP/OscillatorDemo.h index 28945a3d04..1199242b7b 100644 --- a/examples/DSP/OscillatorDemo.h +++ b/examples/DSP/OscillatorDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: OscillatorDemo diff --git a/examples/DSP/OverdriveDemo.h b/examples/DSP/OverdriveDemo.h index 8b929c5232..ba4f19e642 100644 --- a/examples/DSP/OverdriveDemo.h +++ b/examples/DSP/OverdriveDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: OverdriveDemo diff --git a/examples/DSP/SIMDRegisterDemo.h b/examples/DSP/SIMDRegisterDemo.h index da338865fe..4b37b5b061 100644 --- a/examples/DSP/SIMDRegisterDemo.h +++ b/examples/DSP/SIMDRegisterDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: SIMDRegisterDemo diff --git a/examples/DSP/StateVariableFilterDemo.h b/examples/DSP/StateVariableFilterDemo.h index ac4d98f66d..416a67486e 100644 --- a/examples/DSP/StateVariableFilterDemo.h +++ b/examples/DSP/StateVariableFilterDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: StateVariableFilterDemo diff --git a/examples/DSP/WaveShaperTanhDemo.h b/examples/DSP/WaveShaperTanhDemo.h index 2da75a7af5..46a62a21bc 100644 --- a/examples/DSP/WaveShaperTanhDemo.h +++ b/examples/DSP/WaveShaperTanhDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: WaveShaperTanhDemo diff --git a/examples/GUI/AnimationAppDemo.h b/examples/GUI/AnimationAppDemo.h index bb93d76556..5217a9bc4d 100644 --- a/examples/GUI/AnimationAppDemo.h +++ b/examples/GUI/AnimationAppDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: AnimationAppDemo diff --git a/examples/GUI/AnimationDemo.h b/examples/GUI/AnimationDemo.h index 8aa97a0790..337d1905e2 100644 --- a/examples/GUI/AnimationDemo.h +++ b/examples/GUI/AnimationDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: AnimationDemo diff --git a/examples/GUI/BouncingBallWavetableDemo.h b/examples/GUI/BouncingBallWavetableDemo.h index dea790500e..9c553019bf 100644 --- a/examples/GUI/BouncingBallWavetableDemo.h +++ b/examples/GUI/BouncingBallWavetableDemo.h @@ -35,6 +35,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: BouncingBallWavetableDemo diff --git a/examples/GUI/CameraDemo.h b/examples/GUI/CameraDemo.h index 6c1ef60964..8ba0d4da0c 100644 --- a/examples/GUI/CameraDemo.h +++ b/examples/GUI/CameraDemo.h @@ -33,7 +33,7 @@ juce_graphics, juce_gui_basics, juce_gui_extra, juce_video exporters: xcode_mac, vs2017, androidstudio, xcode_iphone - moduleFlags: JUCE_USE_CAMERA=1 + moduleFlags: JUCE_USE_CAMERA=1, JUCE_STRICT_REFCOUNTEDPOINTER=1 type: Component mainClass: CameraDemo diff --git a/examples/GUI/CodeEditorDemo.h b/examples/GUI/CodeEditorDemo.h index 239938606c..b9beb84a96 100644 --- a/examples/GUI/CodeEditorDemo.h +++ b/examples/GUI/CodeEditorDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: CodeEditorDemo diff --git a/examples/GUI/ComponentDemo.h b/examples/GUI/ComponentDemo.h index 7944d2bee4..9e0053ec73 100644 --- a/examples/GUI/ComponentDemo.h +++ b/examples/GUI/ComponentDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017 + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: ComponentDemo diff --git a/examples/GUI/ComponentTransformsDemo.h b/examples/GUI/ComponentTransformsDemo.h index f038de79ea..327cab77e6 100644 --- a/examples/GUI/ComponentTransformsDemo.h +++ b/examples/GUI/ComponentTransformsDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: ComponentTransformsDemo diff --git a/examples/GUI/DialogsDemo.h b/examples/GUI/DialogsDemo.h index 91de0b68b6..65b9717be1 100644 --- a/examples/GUI/DialogsDemo.h +++ b/examples/GUI/DialogsDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: DialogsDemo diff --git a/examples/GUI/FlexBoxDemo.h b/examples/GUI/FlexBoxDemo.h index 8c4bafcc4d..e10084963a 100644 --- a/examples/GUI/FlexBoxDemo.h +++ b/examples/GUI/FlexBoxDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: FlexBoxDemo diff --git a/examples/GUI/FontsDemo.h b/examples/GUI/FontsDemo.h index ab90926716..453225440d 100644 --- a/examples/GUI/FontsDemo.h +++ b/examples/GUI/FontsDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: FontsDemo diff --git a/examples/GUI/GraphicsDemo.h b/examples/GUI/GraphicsDemo.h index a5403242a6..d2a98aa608 100644 --- a/examples/GUI/GraphicsDemo.h +++ b/examples/GUI/GraphicsDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: GraphicsDemo diff --git a/examples/GUI/GridDemo.h b/examples/GUI/GridDemo.h index 8b6a9f7eab..00fb21259c 100644 --- a/examples/GUI/GridDemo.h +++ b/examples/GUI/GridDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: GridDemo diff --git a/examples/GUI/HelloWorldDemo.h b/examples/GUI/HelloWorldDemo.h index 39886227de..3b7dfb031d 100644 --- a/examples/GUI/HelloWorldDemo.h +++ b/examples/GUI/HelloWorldDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: HelloWorldDemo diff --git a/examples/GUI/ImagesDemo.h b/examples/GUI/ImagesDemo.h index 707e8a2ae0..0cbedac883 100644 --- a/examples/GUI/ImagesDemo.h +++ b/examples/GUI/ImagesDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: ImagesDemo diff --git a/examples/GUI/KeyMappingsDemo.h b/examples/GUI/KeyMappingsDemo.h index b2a786f0c0..9fae26fd6e 100644 --- a/examples/GUI/KeyMappingsDemo.h +++ b/examples/GUI/KeyMappingsDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: KeyMappingsDemo diff --git a/examples/GUI/LookAndFeelDemo.h b/examples/GUI/LookAndFeelDemo.h index 752a242e43..29205c1613 100644 --- a/examples/GUI/LookAndFeelDemo.h +++ b/examples/GUI/LookAndFeelDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: LookAndFeelDemo diff --git a/examples/GUI/MDIDemo.h b/examples/GUI/MDIDemo.h index 35dd02f428..5c0edbce55 100644 --- a/examples/GUI/MDIDemo.h +++ b/examples/GUI/MDIDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: MDIDemo diff --git a/examples/GUI/MenusDemo.h b/examples/GUI/MenusDemo.h index 35bc07429d..1300fc28af 100644 --- a/examples/GUI/MenusDemo.h +++ b/examples/GUI/MenusDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: MenusDemo diff --git a/examples/GUI/MultiTouchDemo.h b/examples/GUI/MultiTouchDemo.h index b6a5ecc156..40441dd792 100644 --- a/examples/GUI/MultiTouchDemo.h +++ b/examples/GUI/MultiTouchDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: MultiTouchDemo diff --git a/examples/GUI/OpenGLAppDemo.h b/examples/GUI/OpenGLAppDemo.h index 10cc2a8998..ce4c503858 100644 --- a/examples/GUI/OpenGLAppDemo.h +++ b/examples/GUI/OpenGLAppDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra, juce_opengl exporters: xcode_mac, vs2017, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: OpenGLAppDemo diff --git a/examples/GUI/OpenGLDemo.h b/examples/GUI/OpenGLDemo.h index 9c6a87dac5..dfba6b02f8 100644 --- a/examples/GUI/OpenGLDemo.h +++ b/examples/GUI/OpenGLDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra, juce_opengl exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: OpenGLDemoClasses::OpenGLDemo diff --git a/examples/GUI/OpenGLDemo2D.h b/examples/GUI/OpenGLDemo2D.h index 6452ecb650..cdfd3acda5 100644 --- a/examples/GUI/OpenGLDemo2D.h +++ b/examples/GUI/OpenGLDemo2D.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra, juce_opengl exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: OpenGLDemo2D diff --git a/examples/GUI/PropertiesDemo.h b/examples/GUI/PropertiesDemo.h index 0172886484..439887d072 100644 --- a/examples/GUI/PropertiesDemo.h +++ b/examples/GUI/PropertiesDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: PropertiesDemo diff --git a/examples/GUI/VideoDemo.h b/examples/GUI/VideoDemo.h index 5b1d9fed5d..c2dba40d53 100644 --- a/examples/GUI/VideoDemo.h +++ b/examples/GUI/VideoDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra, juce_video exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: VideoDemo diff --git a/examples/GUI/WebBrowserDemo.h b/examples/GUI/WebBrowserDemo.h index 41a1ca1eb0..cc70a483d9 100644 --- a/examples/GUI/WebBrowserDemo.h +++ b/examples/GUI/WebBrowserDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: WebBrowserDemo diff --git a/examples/GUI/WidgetsDemo.h b/examples/GUI/WidgetsDemo.h index 70461e8ad8..6477b194ba 100644 --- a/examples/GUI/WidgetsDemo.h +++ b/examples/GUI/WidgetsDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: WidgetsDemo diff --git a/examples/GUI/WindowsDemo.h b/examples/GUI/WindowsDemo.h index e21d2537aa..752954eb64 100644 --- a/examples/GUI/WindowsDemo.h +++ b/examples/GUI/WindowsDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: WindowsDemo diff --git a/examples/Plugins/AUv3SynthPluginDemo.h b/examples/Plugins/AUv3SynthPluginDemo.h index 822c2d4795..9d0dbae8ca 100644 --- a/examples/Plugins/AUv3SynthPluginDemo.h +++ b/examples/Plugins/AUv3SynthPluginDemo.h @@ -35,6 +35,8 @@ juce_events, juce_graphics, juce_gui_basics, juce_gui_extra exporters: xcode_mac, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: AudioProcessor mainClass: AUv3SynthProcessor diff --git a/examples/Plugins/ArpeggiatorPluginDemo.h b/examples/Plugins/ArpeggiatorPluginDemo.h index 3765353b8c..9ad8996f98 100644 --- a/examples/Plugins/ArpeggiatorPluginDemo.h +++ b/examples/Plugins/ArpeggiatorPluginDemo.h @@ -35,6 +35,8 @@ juce_events, juce_graphics, juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017 + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: AudioProcessor mainClass: Arpeggiator diff --git a/examples/Plugins/AudioPluginDemo.h b/examples/Plugins/AudioPluginDemo.h index 348b605a82..d3a01dc457 100644 --- a/examples/Plugins/AudioPluginDemo.h +++ b/examples/Plugins/AudioPluginDemo.h @@ -35,6 +35,8 @@ juce_events, juce_graphics, juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, xcode_iphone, androidstudio + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: AudioProcessor mainClass: JuceDemoPluginAudioProcessor diff --git a/examples/Plugins/DSPModulePluginDemo.h b/examples/Plugins/DSPModulePluginDemo.h index ff2cd7ce91..5282b77907 100644 --- a/examples/Plugins/DSPModulePluginDemo.h +++ b/examples/Plugins/DSPModulePluginDemo.h @@ -35,6 +35,8 @@ juce_events, juce_graphics, juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017 + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: AudioProcessor mainClass: DspModulePluginDemoAudioProcessor diff --git a/examples/Plugins/GainPluginDemo.h b/examples/Plugins/GainPluginDemo.h index f3eadbda67..4d620e492c 100644 --- a/examples/Plugins/GainPluginDemo.h +++ b/examples/Plugins/GainPluginDemo.h @@ -35,6 +35,8 @@ juce_events, juce_graphics, juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017 + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: AudioProcessor mainClass: GainProcessor diff --git a/examples/Plugins/InterAppAudioEffectPluginDemo.h b/examples/Plugins/InterAppAudioEffectPluginDemo.h index 429bff107c..c05606f95d 100644 --- a/examples/Plugins/InterAppAudioEffectPluginDemo.h +++ b/examples/Plugins/InterAppAudioEffectPluginDemo.h @@ -35,6 +35,8 @@ juce_events, juce_graphics, juce_gui_basics, juce_gui_extra exporters: xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: AudioProcessor mainClass: IAAEffectProcessor diff --git a/examples/Plugins/MultiOutSynthPluginDemo.h b/examples/Plugins/MultiOutSynthPluginDemo.h index db8a8a39af..09668ae11f 100644 --- a/examples/Plugins/MultiOutSynthPluginDemo.h +++ b/examples/Plugins/MultiOutSynthPluginDemo.h @@ -35,6 +35,8 @@ juce_events, juce_graphics, juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017 + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: AudioProcessor mainClass: MultiOutSynth diff --git a/examples/Plugins/NoiseGatePluginDemo.h b/examples/Plugins/NoiseGatePluginDemo.h index ea7f26ab83..6925d0fced 100644 --- a/examples/Plugins/NoiseGatePluginDemo.h +++ b/examples/Plugins/NoiseGatePluginDemo.h @@ -35,6 +35,8 @@ juce_events, juce_graphics, juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017 + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: AudioProcessor mainClass: NoiseGate diff --git a/examples/Plugins/SamplerPluginDemo.h b/examples/Plugins/SamplerPluginDemo.h index aeec87643f..ceca60b2e9 100644 --- a/examples/Plugins/SamplerPluginDemo.h +++ b/examples/Plugins/SamplerPluginDemo.h @@ -35,6 +35,8 @@ juce_events, juce_graphics, juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017 + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: AudioProcessor mainClass: SamplerAudioProcessor diff --git a/examples/Plugins/SurroundPluginDemo.h b/examples/Plugins/SurroundPluginDemo.h index 91ed5bea70..f98af7d429 100644 --- a/examples/Plugins/SurroundPluginDemo.h +++ b/examples/Plugins/SurroundPluginDemo.h @@ -35,6 +35,8 @@ juce_events, juce_graphics, juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: AudioProcessor mainClass: SurroundProcessor diff --git a/examples/Utilities/AnalyticsCollectionDemo.h b/examples/Utilities/AnalyticsCollectionDemo.h index 8883781080..8cc8af700c 100644 --- a/examples/Utilities/AnalyticsCollectionDemo.h +++ b/examples/Utilities/AnalyticsCollectionDemo.h @@ -33,6 +33,8 @@ juce_graphics, juce_gui_basics exporters: xcode_mac, vs2017, linux_make, xcode_iphone, androidstudio + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: AnalyticsCollectionDemo diff --git a/examples/Utilities/Box2DDemo.h b/examples/Utilities/Box2DDemo.h index 362543d232..2104b5f4c8 100644 --- a/examples/Utilities/Box2DDemo.h +++ b/examples/Utilities/Box2DDemo.h @@ -33,6 +33,8 @@ juce_graphics, juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: Box2DDemo diff --git a/examples/Utilities/ChildProcessDemo.h b/examples/Utilities/ChildProcessDemo.h index 50cc37966b..fc70d4df02 100644 --- a/examples/Utilities/ChildProcessDemo.h +++ b/examples/Utilities/ChildProcessDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Console mainClass: ChildProcessDemo diff --git a/examples/Utilities/CryptographyDemo.h b/examples/Utilities/CryptographyDemo.h index 3d5d9810d6..ed6c25ee40 100644 --- a/examples/Utilities/CryptographyDemo.h +++ b/examples/Utilities/CryptographyDemo.h @@ -33,6 +33,8 @@ juce_graphics, juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: CryptographyDemo diff --git a/examples/Utilities/InAppPurchasesDemo.h b/examples/Utilities/InAppPurchasesDemo.h index 68f2783c12..f726acbef8 100644 --- a/examples/Utilities/InAppPurchasesDemo.h +++ b/examples/Utilities/InAppPurchasesDemo.h @@ -37,6 +37,8 @@ juce_product_unlocking exporters: xcode_mac, xcode_iphone, androidstudio + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: InAppPurchasesDemo diff --git a/examples/Utilities/JavaScriptDemo.h b/examples/Utilities/JavaScriptDemo.h index 47a1f6f1f9..e7682e39b9 100644 --- a/examples/Utilities/JavaScriptDemo.h +++ b/examples/Utilities/JavaScriptDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: JavaScriptDemo diff --git a/examples/Utilities/LiveConstantDemo.h b/examples/Utilities/LiveConstantDemo.h index 627b224444..df9e373745 100644 --- a/examples/Utilities/LiveConstantDemo.h +++ b/examples/Utilities/LiveConstantDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: LiveConstantDemo diff --git a/examples/Utilities/MultithreadingDemo.h b/examples/Utilities/MultithreadingDemo.h index 0d7bf6e427..4d5c21b66a 100644 --- a/examples/Utilities/MultithreadingDemo.h +++ b/examples/Utilities/MultithreadingDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: MultithreadingDemo diff --git a/examples/Utilities/NetworkingDemo.h b/examples/Utilities/NetworkingDemo.h index 8cd1fca1fd..ce35429b0e 100644 --- a/examples/Utilities/NetworkingDemo.h +++ b/examples/Utilities/NetworkingDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: NetworkingDemo diff --git a/examples/Utilities/OSCDemo.h b/examples/Utilities/OSCDemo.h index d29cb5523d..94c64ebe24 100644 --- a/examples/Utilities/OSCDemo.h +++ b/examples/Utilities/OSCDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_osc exporters: xcode_mac, vs2017, linux_make + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: OSCDemo diff --git a/examples/Utilities/PushNotificationsDemo.h b/examples/Utilities/PushNotificationsDemo.h index 20cc256946..e035db5488 100644 --- a/examples/Utilities/PushNotificationsDemo.h +++ b/examples/Utilities/PushNotificationsDemo.h @@ -36,6 +36,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, xcode_iphone, androidstudio + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: PushNotificationsDemo diff --git a/examples/Utilities/SystemInfoDemo.h b/examples/Utilities/SystemInfoDemo.h index e0954c07ed..ffe34619cd 100644 --- a/examples/Utilities/SystemInfoDemo.h +++ b/examples/Utilities/SystemInfoDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: SystemInfoDemo diff --git a/examples/Utilities/TimersAndEventsDemo.h b/examples/Utilities/TimersAndEventsDemo.h index 4f34e78eaf..0707708ff5 100644 --- a/examples/Utilities/TimersAndEventsDemo.h +++ b/examples/Utilities/TimersAndEventsDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: TimersAndEventsDemo diff --git a/examples/Utilities/UnitTestsDemo.h b/examples/Utilities/UnitTestsDemo.h index 066d0c40c9..4c2f9c3de4 100644 --- a/examples/Utilities/UnitTestsDemo.h +++ b/examples/Utilities/UnitTestsDemo.h @@ -36,6 +36,7 @@ juce_opengl, juce_osc, juce_product_unlocking, juce_video exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 defines: JUCE_UNIT_TESTS=1 type: Component diff --git a/examples/Utilities/ValueTreesDemo.h b/examples/Utilities/ValueTreesDemo.h index 7143bbaa3c..97455087e2 100644 --- a/examples/Utilities/ValueTreesDemo.h +++ b/examples/Utilities/ValueTreesDemo.h @@ -33,6 +33,8 @@ juce_gui_basics exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: ValueTreesDemo diff --git a/examples/Utilities/XMLandJSONDemo.h b/examples/Utilities/XMLandJSONDemo.h index f22235f976..8c5f7a34b3 100644 --- a/examples/Utilities/XMLandJSONDemo.h +++ b/examples/Utilities/XMLandJSONDemo.h @@ -33,6 +33,8 @@ juce_gui_basics, juce_gui_extra exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone + moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1 + type: Component mainClass: XMLandJSONDemo diff --git a/extras/Projucer/Source/Application/Windows/jucer_PIPCreatorWindowComponent.h b/extras/Projucer/Source/Application/Windows/jucer_PIPCreatorWindowComponent.h index b439d75ca9..814bc37c5e 100644 --- a/extras/Projucer/Source/Application/Windows/jucer_PIPCreatorWindowComponent.h +++ b/extras/Projucer/Source/Application/Windows/jucer_PIPCreatorWindowComponent.h @@ -323,7 +323,7 @@ private: dependenciesValue { pipTree, Ids::dependencies_, nullptr, getModulesRequiredForComponent(), "," }, exportersValue { pipTree, Ids::exporters, nullptr, StringArray (ProjectExporter::getValueTreeNameForExporter (ProjectExporter::getCurrentPlatformExporterName()).toLowerCase()), "," }, - moduleFlagsValue { pipTree, Ids::moduleFlags, nullptr }, + moduleFlagsValue { pipTree, Ids::moduleFlags, nullptr, "JUCE_STRICT_REFCOUNTEDPOINTER=1" }, definesValue { pipTree, Ids::defines, nullptr }, typeValue { pipTree, Ids::type, nullptr, "Component" }, mainClassValue { pipTree, Ids::mainClass, nullptr, "MyComponent" }, diff --git a/extras/Projucer/Source/Wizards/jucer_NewProjectWizard.h b/extras/Projucer/Source/Wizards/jucer_NewProjectWizard.h index 7db905a720..71ba1fb792 100644 --- a/extras/Projucer/Source/Wizards/jucer_NewProjectWizard.h +++ b/extras/Projucer/Source/Wizards/jucer_NewProjectWizard.h @@ -139,6 +139,8 @@ struct NewProjectWizard if (! initialiseProject (*project)) return nullptr; + project->getConfigFlag ("JUCE_STRICT_REFCOUNTEDPOINTER") = true; + addExporters (*project, wc); addDefaultModules (*project, useGlobalPath);