
On Mon, Nov 06 2017, cermaj14@fel.cvut.cz wrote:
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);
Yes, it looks like a compiler problem, probably triggered by something strange in your code. It is hard to guess what the problem could be, when we do not see your code. If you are not able to resolve the issue by changing your code, try changing the compiler. This can be easily done by changing "Active build spec" from SIMLINUXdiab to SIMLINUXgnu (or vice versa). Best regards, -Michal Sojka