Hello,

I would like to use AudioMixer with Alsa (sound default system within Debian RPI OS Lite)
I got the latest source from Savannah:
svn co svn://svn.savannah.nongnu.org/gap/trunk/system-apps/AudioMixer

And I note this issue about a 'forward class' while building with the latest GNUstep API:

patrick@pi400gnustep:~/SOURCES/AudioMixer $ make
This is gnustep-make 2.9.3. Type 'gmake print-gnustep-make-help' for help.
Running in gnustep-make version 2 strict mode.
Making all for app AudioMixer...
 Creating AudioMixer.app/....
 Compiling file AppController.m ...
AppController.m:73:16: warning: receiver 'SoundDevice' is a forward class and co
rresponding @interface may not exist [-Wreceiver-forward-class]
   73 |   soundDev = [[SoundDevice alloc] init];
      |                ^~~~~~~~~~~
./AppController.h:32:8: note: forward declaration of class here
   32 | @class SoundDevice;
      |        ^
/usr/local/include/Foundation/NSObject.h:329:1: note: method 'alloc' is used for
 the forward class
  329 | + (id) alloc;
      | ^
AppController.m:75:21: warning: instance method '-outMainLevel' not found (retur
n type defaults to 'id') [-Wobjc-method-access]
   75 |   level = [soundDev outMainLevel];
      |                     ^~~~~~~~~~~~
./AppController.h:32:8: note: receiver is instance of class declared here
   32 | @class SoundDevice;
      |        ^
AppController.m:75:9: error: incompatible pointer to integer conversion assignin
g to 'int' from 'id' [-Wint-conversion]
   75 |   level = [soundDev outMainLevel];
      |         ^ ~~~~~~~~~~~~~~~~~~~~~~~
AppController.m:76:23: warning: instance method '-outMainBalance' not found (ret
urn type defaults to 'id') [-Wobjc-method-access]
   76 |   balance = [soundDev outMainBalance];
      |                       ^~~~~~~~~~~~~~
./AppController.h:32:8: note: receiver is instance of class declared here
   32 | @class SoundDevice;
      |        ^
AppController.m:76:11: error: incompatible pointer to integer conversion assigni
ng to 'int' from 'id' [-Wint-conversion]
   76 |   balance = [soundDev outMainBalance];
      |           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
AppController.m:109:13: warning: instance method '-setMainLevel:withBalance:' no
t found (return type defaults to 'id') [-Wobjc-method-access]
  109 |   [soundDev setMainLevel: level withBalance: balance];
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./AppController.h:32:8: note: receiver is instance of class declared here
   32 | @class SoundDevice;
      |        ^
AppController.m:120:13: warning: instance method '-setMainLevel:withBalance:' no
t found (return type defaults to 'id') [-Wobjc-method-access]
  120 |   [soundDev setMainLevel: level withBalance: balance];
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./AppController.h:32:8: note: receiver is instance of class declared here
   32 | @class SoundDevice;
      |        ^
5 warnings and 2 errors generated.
gmake[3]: *** [/usr/local/share/GNUstep/Makefiles/rules.make:534 : obj/AudioMixe
r.obj/AppController.m.o] Erreur 1
gmake[2]: *** [/usr/local/share/GNUstep/Makefiles/Instance/application.make:145
: internal-app-run-compile-submake] Erreur 2
gmake[1]: *** [/usr/local/share/GNUstep/Makefiles/Master/rules.make:297 : AudioM
ixer.all.app.variables] Erreur 2
make: *** [/usr/local/share/GNUstep/Makefiles/Master/application.make:38 : inter
nal-all] Erreur 2


Regards,

--
Patrick Cardona - Pi400 - GNU/Linux (Debian 12 aarch64: RPI OS Lite)
Xorg (1:1.7.1-1.2) - libcairo2 (1.16.0-7+rpt1 arm64)
Window Maker (0.96.0) - GWorkspace (1.1.0 - 02 2025) - Theme: Heritage - MUA: GNUMail (1.4.0)


Reply via email to