How do I avoid warnings about #pragma when compiling? Home › Forums › MIPS Insider › MIPS FAQ › How do I avoid warnings about #pragma when compiling? This topic contains 1 reply, has 1 voice, and was last updated by ChrisImgtec 7 years, 3 months ago. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts 21st November 2013 at 10:53 pm #64626 ChrisImgtecModerator If you want to avoid warnings related to pragmas, you should read the GCC documentation that describes the following flags: -Wunknown-pragmas -Wno-pragmas These are documented in section 3.8 of the manual for GCC 4.4.1. The -W flags have a negative form that begins with ‘-Wno-‘. The -W flags described above are the non-default forms of the flags. Depending on the pragmas you are using, you probably want to use the following flags to avoid warnings about pragmas: -Wno-unknown-pragmas (this is the default) -Wno-pragmas (this is NOT the default) You may have to experiment with these flags to get the behavior that you want. 21st November 2013 at 11:32 pm #64627 ChrisImgtecModerator Imagination MIPS Support Author Posts Viewing 2 posts - 1 through 2 (of 2 total) Forums are currently locked.