Error in math.h file while Autosar code generation

2 views (last 30 days)
Namrata Biranje
Namrata Biranje on 9 Mar 2020
Commented: Namrata Biranje on 16 Apr 2020
Hello,
I am not understanding why I am getting the following MISRA error while compiing my .c file:
..\ansi\math.h 142 Error 10: Expecting ';'
..\ansi\math.h 142 Error 10: Expecting '{'
..\ansi\math.h 465 Error 129: declaration expected, identifier '__Ldouble_int_u' ignored
..\ansi\math.h 465 Error 19: Useless Declaration
..\ansi\math.h 489 Error 10: Expecting ';'
..\ansi\math.h 489 Error 10: Expecting '{'
..\ansi\math.h 773 Error 10: Expecting ';'
..\ansi\math.h 773 Error 10: Expecting '{'
Please help.
  2 Comments
Namrata Biranje
Namrata Biranje on 16 Apr 2020
Hello Karthik C, Thanks for the response. I am not changing the compiler. I am using default compiler.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!