openAV-Sorcer icon indicating copy to clipboard operation
openAV-Sorcer copied to clipboard

Build warnings with clang-40

Open yurivict opened this issue 7 years ago • 1 comments

/usr/ports/audio/sorcer-lv2/work/openAV-Sorcer-release-1.1.3/gui/sorcer_widget.h:158:9: warning: private field 'gain' is not used [-Wunused-private-field]
  float gain; 
        ^
/usr/ports/audio/sorcer-lv2/work/openAV-Sorcer-release-1.1.3/gui/sorcer_widget.h:159:9: warning: private field 'cutoff' is not used [-Wunused-private-field]
  float cutoff; 
        ^
/usr/ports/audio/sorcer-lv2/work/openAV-Sorcer-release-1.1.3/gui/sorcer_widget.h:160:9: warning: private field 'Q' is not used [-Wunused-private-field]
  float Q; 
        ^

/usr/ports/audio/sorcer-lv2/work/openAV-Sorcer-release-1.1.3/faust/main.cpp:1727:1: warning: duplicate 'extern' declaration specifier [-Wduplicate-decl-specifier]
LV2_SYMBOL_EXPORT
^
/usr/local/include/lv2/lv2plug.in/ns/lv2core/lv2.h:361:31: note: expanded from macro 'LV2_SYMBOL_EXPORT'
#    define LV2_SYMBOL_EXPORT LV2_SYMBOL_EXTERN __attribute__((visibility("default")))
                              ^
/usr/local/include/lv2/lv2plug.in/ns/lv2core/lv2.h:349:31: note: expanded from macro 'LV2_SYMBOL_EXTERN'
#    define LV2_SYMBOL_EXTERN extern "C"
                              ^

yurivict avatar Nov 26 '17 21:11 yurivict

Hi @yurivict, thanks for reporting. Right now I'm working on some other issues, but I'll add fixes for these next time I'm hacking Sorcer. There's certainly some improvements to be made in the code - that code is already a few years old by now! Cheers, -H

harryhaaren avatar Nov 27 '17 23:11 harryhaaren