Fix RTT build.

This commit is contained in:
HiFiPhile 2023-08-06 21:55:24 +02:00
parent 4d1f3f4e9d
commit c940a2f362

View File

@ -183,6 +183,11 @@ Additional information:
* *
********************************************************************** **********************************************************************
*/ */
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wcast-qual"
#pragma GCC diagnostic ignored "-Wcast-align"
#endif
#if (defined __ICCARM__) || (defined __ICCRX__) #if (defined __ICCARM__) || (defined __ICCRX__)
#define RTT_PRAGMA(P) _Pragma(#P) #define RTT_PRAGMA(P) _Pragma(#P)
#endif #endif