[PSR] SHM - error input argument

cermaj14 at fel.cvut.cz cermaj14 at fel.cvut.cz
Mon Nov 6 18:19:35 CET 2017


Hello,
I have a problem with homework 3 with pasting string argument from  
terminal to specific function. Accurately it is in main function in  
company file. When I call function "set_shm_company(char  
*company_name)" from the said main function it occurs this error:

"/home/cermaj14/WindRiver/workspace/Monitor_app/company.c", line 71:  
internal error: assertion failed: Invalid C99 IL expression kind  
(./../src/eparse/lower_c99.c, line 3690)
   	id_company = set_shm_company(d);

Doesn`t matter if input parameter is argv[1] or some char d[] =  
"someString". I have found just one article at StackOverFlow and they  
mentioned it is compiler problem.

Thanks for help

Jan Čermák




More information about the PSR mailing list