-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when building with clang #119
Comments
src/smsutil.c:3566:8: error: implicit conversion from enumeration type 'enum sms_alphabet' to different enumeration type 'enum gsm_dialect' |
unit/test-stkutil.c:16870:28: error: unused variable 'get_input_response_191b' [-Werror,-Wunused-const-variable] |
src/stkutil.c:4423:12: error: comparison of array 'ussd->string' equal to a null pointer is always false [-Werror,-Wtautological-pointer-compare] |
gril/grilreply.c:461:6: error: cast from 'int *' to 'long *' increases required alignment from 4 to 8 [-Werror,-Wcast-align](long *) &reply->hex_len, -1); |
unit/test-mux.c:221:2: error: implicit declaration of function 'g_test_trap_subprocess' is invalid in C99 [-Werror,-Wimplicit-function-declaration] |
unit/test-caif.c:143:2: error: implicit declaration of function 'g_test_trap_subprocess' is invalid in C99 [-Werror,-Wimplicit-function-declaration] |
tools/get-location.c:249:6: error: variable 'ret' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] |
plugins/isiusb.c:207:28: error: comparison of constant 0 with boolean expression is always false |
plugins/n900.c:241:28: error: comparison of constant 0 with boolean expression is always false [-Werror,-Wtautological-constant-out-of-range-compare] plugins/u8500.c:235:28: error: comparison of constant 0 with boolean expression is always false |
drivers/atmodem/ussd.c:121:6: error: variable 'dcs' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] |
drivers/atmodem/voicecall.c:360:6: error: variable 'num' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] |
drivers/huaweimodem/ussd.c:65:6: error: variable 'dcs' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] |
drivers/huaweimodem/radio-settings.c:106:10: error: implicit conversion from enumeration type 'enum ofono_radio_band_umts' to different enumeration |
drivers/stemodem/caif_rtnl.c:82:14: error: cast from 'char ' to 'struct rtattr *' increases required alignment from 1 to 2 [-Werror,-Wcast-align] |
drivers/speedupmodem/ussd.c:64:6: error: variable 'dcs' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] |
src/radio-settings.c:165:11: error: implicit conversion from enumeration type 'enum ofono_radio_band_gsm' to different enumeration type |
btio/btio.c:522:15: error: no member named 'key_size' in 'struct bt_security' |
btio/btio.o: In function |
$ ./bootstrap-configure --disable-bluetooth
$ make
...
src/simutil.c:1551:12: error: comparison of constant 8 with expression of type 'enum sim_cphs_service' is always false
[-Werror,-Wtautological-constant-out-of-range-compare]
if (index >= 2 * 4u)
~~~~~ ^ ~~~~~~
The text was updated successfully, but these errors were encountered: