Add mechanism to disable temporary compiler warnings in a sequence of code.

This commit is contained in:
Patrick Pelissier committed 2020-07-01 11:47:55 +02:00
1 parent a36752b8ce
commit f2a06ede62
14 files changed
+149 -1

No files matched your search

+4
View File
@@ -28,6 +28,8 @@
#include "m-string.h"
M_BEGIN_PROTECTED_CODE
/* This is a trivial encapsulation of an opaque structure.
Used for test purpose only.*/
typedef struct testobj_s {
@@ -170,4 +172,6 @@ static inline void testobj_str(string_t str, const testobj_t z, bool append)
CMP(testobj_cmp) \
)
M_END_PROTECTED_CODE
#endif