IAR produces some warnings which can not be fixed in the source code because
then other compilers start generating warnings. We suppressed those warnings
in the project file before. This change moves the warning suppression from
project files to portmacro.h.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2760
1d2547de-c912-0410-9cb9-
b8ca96c0e9e2
</option>\r
<option>\r
<name>IExtraOptionsCheck</name>\r
- <state>1</state>\r
+ <state>0</state>\r
</option>\r
<option>\r
<name>IExtraOptions</name>\r
- <state>--diag_suppress Pa082</state>\r
- <state>--diag_suppress Be006</state>\r
+ <state></state>\r
</option>\r
<option>\r
<name>CCLangConformance</name>\r
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
/*-----------------------------------------------------------*/\r
\r
+/* Suppress warnings that are generated by the IAR tools, but cannot be fixed in\r
+ * the source code because to do so would cause other compilers to generate\r
+ * warnings. */\r
+#pragma diag_suppress=Be006\r
+#pragma diag_suppress=Pa082\r
+/*-----------------------------------------------------------*/\r
+\r
#ifdef __cplusplus\r
}\r
#endif\r
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
/*-----------------------------------------------------------*/\r
\r
+/* Suppress warnings that are generated by the IAR tools, but cannot be fixed in\r
+ * the source code because to do so would cause other compilers to generate\r
+ * warnings. */\r
+#pragma diag_suppress=Be006\r
+#pragma diag_suppress=Pa082\r
+/*-----------------------------------------------------------*/\r
+\r
#ifdef __cplusplus\r
}\r
#endif\r
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
/*-----------------------------------------------------------*/\r
\r
+/* Suppress warnings that are generated by the IAR tools, but cannot be fixed in\r
+ * the source code because to do so would cause other compilers to generate\r
+ * warnings. */\r
+#pragma diag_suppress=Be006\r
+#pragma diag_suppress=Pa082\r
+/*-----------------------------------------------------------*/\r
+\r
#ifdef __cplusplus\r
}\r
#endif\r
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
/*-----------------------------------------------------------*/\r
\r
+/* Suppress warnings that are generated by the IAR tools, but cannot be fixed in\r
+ * the source code because to do so would cause other compilers to generate\r
+ * warnings. */\r
+#pragma diag_suppress=Be006\r
+#pragma diag_suppress=Pa082\r
+/*-----------------------------------------------------------*/\r
+\r
#ifdef __cplusplus\r
}\r
#endif\r
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
/*-----------------------------------------------------------*/\r
\r
+/* Suppress warnings that are generated by the IAR tools, but cannot be fixed in\r
+ * the source code because to do so would cause other compilers to generate\r
+ * warnings. */\r
+#pragma diag_suppress=Be006\r
+#pragma diag_suppress=Pa082\r
+/*-----------------------------------------------------------*/\r
+\r
#ifdef __cplusplus\r
}\r
#endif\r
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
/*-----------------------------------------------------------*/\r
\r
+/* Suppress warnings that are generated by the IAR tools, but cannot be fixed in\r
+ * the source code because to do so would cause other compilers to generate\r
+ * warnings. */\r
+#pragma diag_suppress=Be006\r
+#pragma diag_suppress=Pa082\r
+/*-----------------------------------------------------------*/\r
+\r
#ifdef __cplusplus\r
}\r
#endif\r
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
/*-----------------------------------------------------------*/\r
\r
+/* Suppress warnings that are generated by the IAR tools, but cannot be fixed in\r
+ * the source code because to do so would cause other compilers to generate\r
+ * warnings. */\r
+#pragma diag_suppress=Be006\r
+#pragma diag_suppress=Pa082\r
+/*-----------------------------------------------------------*/\r
+\r
#ifdef __cplusplus\r
}\r
#endif\r
#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
/*-----------------------------------------------------------*/\r
\r
+/* Suppress warnings that are generated by the IAR tools, but cannot be fixed in\r
+ * the source code because to do so would cause other compilers to generate\r
+ * warnings. */\r
+#pragma diag_suppress=Be006\r
+#pragma diag_suppress=Pa082\r
+/*-----------------------------------------------------------*/\r
+\r
#ifdef __cplusplus\r
}\r
#endif\r