[vlc-commits] notify/osx_notifications: Fix build
    Marvin Scholz 
    git at videolan.org
       
    Mon Jul  3 23:30:00 CEST 2017
    
    
  
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Jul  3 23:29:46 2017 +0200| [941fb41401fdb350a380236c257c7f89327c1ce1] | committer: Marvin Scholz
notify/osx_notifications: Fix build
We need to ignore the unguarded-availability diagnostic, we are already
using partial-availability here anyway.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=941fb41401fdb350a380236c257c7f89327c1ce1
---
 modules/notify/osx_notifications.m | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/modules/notify/osx_notifications.m b/modules/notify/osx_notifications.m
index 5cb4758116..e4b8f516ab 100644
--- a/modules/notify/osx_notifications.m
+++ b/modules/notify/osx_notifications.m
@@ -60,6 +60,8 @@
  * Preamble
  *****************************************************************************/
 
+#pragma clang diagnostic ignored "-Wunguarded-availability"
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
    
    
More information about the vlc-commits
mailing list