diff options
| author | hathach <[email protected]> | 2023-07-01 12:40:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-07-01 12:41:12 +0700 |
| commit | 99e75e6a8a0de9903e574a51d6ce8057a1e3e73f (patch) | |
| tree | dc4896a17a2975e84a48c2089168395332a7907b /src | |
| parent | 48738df489ac583ea8a999d15222f1a570f735f7 (diff) | |
rework ra build
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/renesas/rusb2/rusb2_ra.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/portable/renesas/rusb2/rusb2_ra.h b/src/portable/renesas/rusb2/rusb2_ra.h index 5be9f11ce..be0a9fa66 100644 --- a/src/portable/renesas/rusb2/rusb2_ra.h +++ b/src/portable/renesas/rusb2/rusb2_ra.h @@ -31,9 +31,21 @@ extern "C" { #endif +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-prototypes" + +// extra push due to https://github.com/renesas/fsp/pull/278 +#pragma GCC diagnostic push +#endif + /* renesas fsp api */ #include "bsp_api.h" +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif + #define RUSB2_REG_BASE (0x40090000) #if defined(__ICCARM__) |
