MATLAB: Hardware implementation: support long long

code generationsupport long long

Hello,
I'm using an infineon C166 target (HW). This exist in the pre define HW configuration in matlab.
The "support long long" option is not checked and in fact, my compilator doesn't support long long. So that is correct.
But the advisor still wants me to check the "support long long" option (because of my objectives).
The results is that my generation in not "all green checked" just for this warning.
Of course I can't accept this modification (The compilation of generated code failed as long long is not supported in reality).
How can I indicate to the advisor that this can not be done and in the same time conserve the same objectives?

Best Answer

What I didn't anderstand is that this option "Support Long long" is: Me as developper indicate to Matlab that my compiler doesn't support long long (or yes it is supported).
I give here the option description (2018a):
"Specify whether the C compiler for production hardware supports long long.
Most C99 compilers support long long."
How can the advisor say that for efficiency the generated code shall use long long? => Hey, use long long, it will not work as you say your compiler doesn't support it but YOLO!
I think matlab belives that my compiler is C99 (I got a warning for simulation advisor that suggest me to select C99 instead of C90). But in fact my compiler is C90 (without long long introduced in C99).
It is in fact a bug in the algorithm for this advise. This shall be reported, and I hope fixed.
I don't know the way to do that.