use c++ in keil not working right

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

use c++ in keil not working right

1,059件の閲覧回数
navidansari
Contributor III

h

i i have a project that i use c and now i want use some c++ code i put --cpp11 in misc controll and it get me this errors

C:\Keil_v5\ARM\PACK\Keil\MDK-Middleware\7.4.1\Network\Include\net_rtos.h(83): error:  #167: argument of type "NETOS_ID" is incompatible with parameter of type "osTimerId"
C:\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.3.0\RTE_Driver\UART_LPC17xx.c(2525): error:  #334: class "_ARM_USART_STATUS" has no suitable copy constructor
Main\Eth\TCPCallBack.c(121): error:  #167: argument of type "const char *" is incompatible with parameter of type "std::uint8_t *"‍‍‍

these r some of errors that i recieved.

u see that all of this error is in keil library that is readonly.

what should i do?

タグ(2)
0 件の賞賛
返信
1 返信

841件の閲覧回数
carstengroen
Senior Contributor II

Tough one, maybe ask Keil as it is their product you are having a problem with ? Keil Product Support 

0 件の賞賛
返信