Hello
Dear Sir/Madam
I imported MPC574xB-C-G sample application already downloaded from "NXP.com/Autosar", into S32 design studio for PowerPC. I did set the TOOLCHAIN parameter equal to "diab" in the makefile, and launch.bat in build command. Then I clean and build the project. It did generate the elf file successfully without errors. But then I did an integer to float array casting like this:
usnigned short array_i[2] = {0};
float array_f[2] = {0};
......... array_f[0] = (float) array_i[2];
Seems its okay in C language syntax and rules, but it generates warning and errors here. for more information I attached some files from errors.
By the way i did this in online C compilers and it didn't produce any errors. I guess the problem goes back to diab compiler. And its good to know that I use Diab Compiler Version 5.9.6.2 Evaluation.
Regards,
Ehsan