Hi,
We will look into this and see if we want to adjust the code to prevent these warnings.
However, we are currently fully booked with projects and this is the first request regarding this, so I cannot say when we will be able to look into this.
I would suggest that you suppress these warnings on your side for now, by wrapping the include of the header file in pragmas to disable/enable these warnings.
Example:
#ifdef __GNUC__
#define SPECIAL_WARNINGS_DISABLE() \
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wcast-qual\"") \
_Pragma("GCC diagnostic ignored \"-Wcast-align\"")
#define SPECIAL_WARNINGS_ENABLE() \
_Pragma("GCC diagnostic pop")
#else
#define SPECIAL_WARNINGS_DISABLE()
#define SPECIAL_WARNINGS_ENABLE()
#endif
// [...]
SPECIAL_WARNINGS_DISABLE()
#include "SEGGER_RTT.h"
SPECIAL_WARNINGS_ENABLE()
Display More
That way you can still update the RTT sources without manually adding the pragmas.
BR
Fabian