diff options
| author | hathach <[email protected]> | 2018-11-23 15:25:25 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-11-23 15:25:25 +0700 |
| commit | 394a22ecf7760cce630a8186260f1c79901af934 (patch) | |
| tree | c8246e10d303414f222a5ba15480c04010240c8e /src/common | |
| parent | f196b24dce1531eae8e049bbe35df79996fe4155 (diff) | |
remove pragma GCC diagnostic
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_types.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index 9c3c21b88..b11481b18 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -51,10 +51,6 @@ extern "C" {
#endif
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wpacked"
-#pragma GCC diagnostic ignored "-Wattributes"
-
/*------------------------------------------------------------------*/
/* CONSTANTS
*------------------------------------------------------------------*/
@@ -427,8 +423,6 @@ static inline uint8_t descriptor_len(uint8_t const p_desc[]) // Convert comma-separated string to descriptor unicode format
#define TUD_DESC_STRCONV( ... ) (const uint16_t[]) { TUD_DESC_STR_HEADER(VA_ARGS_NUM_(__VA_ARGS__)), __VA_ARGS__ }
-#pragma GCC diagnostic pop
-
#ifdef __cplusplus
}
#endif
|
