I have 100s of the following warnings showing up when I build my code and I would like to remove them:
C:/Freescale/CW MCU v10.6/MCU/ARM_GCC_Support/ewl/EWL_C/include/ctime:45:0: warning: ignoring #pragma options align [-Wunknown-pragmas]
I believe this can be done with the following compile directive:
-Wno-unknown-pragmas
But I cannot figure out with CodeWarrior 10.6 where to apply it?
Thanks.
Solved! Go to Solution.
Found the solution. I placed my -Wno-unknown-pragmas in the Command line pattern: box.
Thanks for you suggestion.
Hello,
In CodeWarrior 10.6 you can go to project settings (select the project folder, right-click , Properties)and then select Settings.
After that select “StarCore 3900 C/C++ Compiler/Compiler/Warnings/Compiler Front End Messages” and you will see an Invalid Pragmas option, you can
change the default into what you want.
Hope this helps,
Catalin
Found the solution. I placed my -Wno-unknown-pragmas in the Command line pattern: box.
Thanks for you suggestion.