mirror of https://github.com/ARMmbed/mbed-os.git
Suppress warning for IAR compiler as well
parent
ba5b5a3870
commit
e19f6ac4dd
|
@ -32,6 +32,8 @@ but we check for ( width < 8) before performing shift, so it should not be an is
|
|||
#elif defined ( __GNUC__ )
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wshift-count-negative"
|
||||
#elif defined (__ICCARM__)
|
||||
#pragma diag_suppress=Pe062 // Shift count is negative
|
||||
#endif
|
||||
|
||||
namespace mbed {
|
||||
|
@ -457,6 +459,7 @@ private:
|
|||
#if defined ( __CC_ARM )
|
||||
#elif defined ( __GNUC__ )
|
||||
#pragma GCC diagnostic pop
|
||||
#elif defined (__ICCARM__)
|
||||
#endif
|
||||
|
||||
/** @}*/
|
||||
|
|
Loading…
Reference in New Issue