luetzel / bluez

Fork of Bluez with patches to support PS3 Gasia/ Shanwan game controllers
http://luetzels.raspiblog.com
GNU General Public License v2.0
27 stars 9 forks source link

Conflicting types of 'pause #9

Open Handika997 opened 2 years ago

Handika997 commented 2 years ago

profiles/audio/media.c:1241:13: error: conflicting types for ‘pause’; have ‘_Bool(void )’ 1241 | static bool pause(void user_data) | ^~~~~ In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24, from /usr/include/signal.h:328, from /usr/include/glib-2.0/glib/gbacktrace.h:36, from /usr/include/glib-2.0/glib.h:34, from profiles/audio/media.c:33: /usr/include/unistd.h:489:12: note: previous declaration of ‘pause’ with type ‘int(void)’ 489 | extern int pause (void); | ^~~~~ make[1]: [Makefile:7215: profiles/audio/bluetoothd-media.o] Error 1 make: [Makefile:3121: all] Error 2

^this happens when compiling

wesamdev commented 8 months ago

same here please help