Build error with latest tip (redefinition of..)


#1

Redefinition of ‘CarbonViewWrapperComponent’ and ‘getCarbonWindow’ (juce_mac_CarbonViewWrapperComponent.h is included twice since there is no more #pragma once in it)

In file included from …/…/juce/modules/juce_audio_processors/juce_audio_processors.cpp:160:
In file included from …/…/juce/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm:59:
…/…/juce/modules/juce_audio_processors/format_types/…/…/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h:37:7: error: redefinition of 'CarbonViewWrapperComponent’
class CarbonViewWrapperComponent : public Component,
^
…/…/juce/modules/juce_audio_processors/juce_audio_processors.cpp:158:
In file included from …/…/juce/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp:31:
…/…/juce/modules/juce_audio_processors/format_types/…/…/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h:37:7: note: previous definition is here
class CarbonViewWrapperComponent : public Component,
^


#2

Fixed. Thanks for reporting.