Getting warnings building with macOS 11 as deployment target

Could these warnings be muted, or the code updated so I can build with warnings on:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSDeviceIndependentModifierFlagsMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSDeviceIndependentModifierFlagsMask    API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagDeviceIndependentFlagsMask", macos(10.0,10.12)) = NSEventModifierFlagDeviceIndependentFlagsMask;
                                  ^
In file included from /Users/rrabien/agent/_work/2/s/waveform/waveform11/JuceLibraryCode/include_juce_gui_extra.mm:9:
In file included from ../../../../modules/juce/modules/juce_gui_extra/juce_gui_extra.mm:26:
In file included from ../../../../modules/juce/modules/juce_gui_extra/juce_gui_extra.cpp:165:
../../../../modules/juce/modules/juce_gui_extra/native/juce_mac_WebBrowserComponent.mm:109:79: error: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Werror,-Wdeprecated-declarations]
        if (([event modifierFlags] & NSDeviceIndependentModifierFlagsMask) == NSCommandKeyMask)
                                                                              ^~~~~~~~~~~~~~~~
                                                                              NSEventModifierFlagCommand



In file included from ../../../../modules/juce/modules/juce_gui_extra/juce_gui_extra.cpp:165:
../../../../modules/juce/modules/juce_gui_extra/native/juce_mac_WebBrowserComponent.mm:109:38: error: 'NSDeviceIndependentModifierFlagsMask' is deprecated: first deprecated in macOS 10.12 [-Werror,-Wdeprecated-declarations]
        if (([event modifierFlags] & NSDeviceIndependentModifierFlagsMask) == NSCommandKeyMask)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                     NSEventModifierFlagDeviceIndependentFlagsMask


/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:181:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand", macos(10.0,10.12)) = NSEventModifierFlagCommand;