Ambigous access of 'delete' error when using juce_tracktion_marketplace as dll

Hi,

When using juce_tracktion_marketplace as dynamic library, i get the following compilation error:
C2385: ambiguous access of ‘delete’

After investigating and reading others topics, JUCE_LEAK_DETECTOR (previously juce_UseDebuggingNewOperator) should be added in the class declaration.

So, please can you integrate this git-patch:

diff --git a/modules/juce_tracktion_marketplace/marketplace/juce_OnlineUnlockForm.cpp b/modules/juce_tracktion_marketplace/marketplace/juce_OnlineUnlockForm.cpp
index 9c6b436..11c857a 100644
--- a/modules/juce_tracktion_marketplace/marketplace/juce_OnlineUnlockForm.cpp
+++ b/modules/juce_tracktion_marketplace/marketplace/juce_OnlineUnlockForm.cpp
@@ -112,6 +112,7 @@ struct OnlineUnlockForm::OverlayComp  : public Component,
     Spinner spinner;
     OnlineUnlockStatus::UnlockResult result;
     String email, password;
+    JUCE_LEAK_DETECTOR(OnlineUnlockForm::OverlayComp)
 };

static juce_wchar getDefaultPasswordChar() noexcept

2.9.0.windows.1

1 Like

Added to the develop branch.

Ok cool! Thanks !
So, waiting for the next release :slight_smile: