MaJerle / lwcell

Lightweight cellular modem host AT library
MIT License
402 stars 152 forks source link

..\GSM_AT\gsm\gsm_threads.c(171): error: #167: argument of type "gsm_msg_t **" is incompatible with parameter of type "void **" #15

Closed vinhemotiv closed 5 years ago

vinhemotiv commented 5 years ago

When I build with MDK5-ARM using Keil. I got the the following errors ..\GSM_AT\gsm\gsm_threads.c(171): error: #167: argument of type "gsm_msg_t " is incompatible with parameter of type "void "

Can you try to help?

MaJerle commented 5 years ago

https://github.com/MaJerle/GSM_AT_Lib/blob/4fa85e1c1324e91fd63b0e8dc250d60d4c0f439e/src/gsm/gsm_threads.c#L167

Nothing there to trigger an error.

vinhemotiv commented 5 years ago

Line 171.

MDK5 can’t build it with Keil

On Mon, Jul 22, 2019 at 6:28 AM Tilen Majerle notifications@github.com wrote:

https://github.com/MaJerle/GSM_AT_Lib/blob/4fa85e1c1324e91fd63b0e8dc250d60d4c0f439e/src/gsm/gsm_threads.c#L167

Nothing there to trigger an error.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MaJerle/GSM_AT_Lib/issues/15?email_source=notifications&email_token=ADFHAO5ZL5AYAKS7RGYNMHLQATWJ5A5CNFSM4IFTWXX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2ON2OA#issuecomment-513596728, or mute the thread https://github.com/notifications/unsubscribe-auth/ADFHAO2ZR4OGZZNYUQQKQNLQATWJ5ANCNFSM4IFTWXXQ .

-- Vinh Pham General manager Emotiv Technology Vietnam Address: 12Ath floor, Hapulico Centre Building, No 1, Nguyen Huy Tuong str, Ha Noi, Vietnam. Landline: +84 466865029 Cellphone: +84 986888959 Website: http://emotiv.com

vinhemotiv commented 5 years ago

..\GSM_AT\gsm\gsm_timeout.c(83): argument of type "gsm_timeout_t " is incompatible with parameter of type "void " https://github.com/MaJerle/GSM_AT_Lib/blob/4fa85e1c1324e91fd63b0e8dc250d60d4c0f439e/src/gsm/gsm_threads.c#L171

I got a lot of the incompatibility error when building them with MDK5

MaJerle commented 5 years ago

Try to pull changes and recompile. Close the issue if it works.

vinhemotiv commented 5 years ago

That works. Thank you alot!