I am trying to include the #pragma directive in mBed environment but it seems it doesnt recognize it. Is there any alternative for this directive? I'm sure even #ifdef and #ifndef will not work as well. Appreciate all of your help.
Hi All,
I am trying to include the #pragma directive in mBed environment but it seems it doesnt recognize it. Is there any alternative for this directive? I'm sure even #ifdef and #ifndef will not work as well. Appreciate all of your help.
Had no problems with #ifdef and #ifndef, but for #pragma I think you should look at the documentation of the Keil-Compiler. Maybe there is some more information about this.
Had no problems with #ifdef and #ifndef, but for #pragma I think you should look at the documentation of the Keil-Compiler. Maybe there is some more information about this.
Hi
Have a look at Chapter 5 of the the compiler specs at:
http://infocenter.arm.com/help/topic/com.arm.doc.dui0491c/DUI0491C_arm_compiler_reference.pdf
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.
Hi All,
I am trying to include the #pragma directive in mBed environment but it seems it doesnt recognize it. Is there any alternative for this directive? I'm sure even #ifdef and #ifndef will not work as well. Appreciate all of your help.