[beast: 2/3] BEAST: bstmain.cc: fix compilation problem (__unused undefined)



commit 100fec88638fb8509376d1cbd9f938f28fd54001
Author: Stefan Westerfeld <stefan space twc de>
Date:   Tue Feb 21 14:14:22 2017 +0100

    BEAST: bstmain.cc: fix compilation problem (__unused undefined)
    
    Signed-off-by: Stefan Westerfeld <stefan space twc de>

 beast-gtk/bstmain.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/bstmain.cc b/beast-gtk/bstmain.cc
index 0ff53b3..6c5408d 100644
--- a/beast-gtk/bstmain.cc
+++ b/beast-gtk/bstmain.cc
@@ -537,7 +537,7 @@ static int
 main_run_event_loop ()
 {
   // register embedded methods
-  static __unused bool initialized = []() { Py_InitModule ("bst", embedded_bst_methods); return true; } ();
+  static RAPICORN_UNUSED bool initialized = []() { Py_InitModule ("bst", embedded_bst_methods); return true; 
} ();
 
   // run main loop from Python
   String pyfile = Bse::Path::join (Bse::installpath (Bse::INSTALLPATH_PYBEASTDIR), "main.py");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]