You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Critical warning from C compiler: implicit declaration of function ‘gbinder_servicemanager_new2’ (it will become error in future versions of Clang)
#10
Open
RarogCmex opened this issue
Dec 18, 2022
· 3 comments
'''
gbinder.c:13497:25: warning: implicit declaration of function ‘gbinder_servicemanager_new2’; did you mean ‘gbinder_servicemanager_new’? [-Wimplicit-function-declaration]
'''
Complete build log: build.zip
The text was updated successfully, but these errors were encountered:
RarogCmex
changed the title
Warning from C compiler: implicit declaration of function ‘gbinder_servicemanager_new2’
Critical warning from C compiler: implicit declaration of function ‘gbinder_servicemanager_new2’ (it will become error in future versions of Clang)
Dec 22, 2022
gcc failed to compile while trying to install from AUR:
==> Starting build()...
Compiling gbinder.pyx because it changed.
[1/1] Cythonizing gbinder.pyx
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
gbinder.c: In function ‘__pyx_pf_7gbinder_14ServiceManager___cinit__’:
gbinder.c:21675:25: error: implicit declaration of function ‘gbinder_servicemanager_new2’; did you mean ‘gbinder_servicemanager_new’? [-Wimplicit-function-declaration]
21675 | __pyx_v_self->_sm = gbinder_servicemanager_new2(__pyx_t_7, __pyx_t_9, __pyx_t_11);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| gbinder_servicemanager_new
gbinder.c:21675:23: error: assignment to ‘GBinderServiceManager *’ {aka ‘struct gbinder_servicemanager *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
21675 | __pyx_v_self->_sm = gbinder_servicemanager_new2(__pyx_t_7, __pyx_t_9, __pyx_t_11);
| ^
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build().
Aborting...
-> error making: python-gbinder-exit status 4
-> Failed to install the following packages. Manual intervention is required:
python-gbinder - exit status 4
EDIT: Updating libgbinder fixes this compilation error
'''
gbinder.c:13497:25: warning: implicit declaration of function ‘gbinder_servicemanager_new2’; did you mean ‘gbinder_servicemanager_new’? [-Wimplicit-function-declaration]
'''
Complete build log:
build.zip
The text was updated successfully, but these errors were encountered: