mirror of https://github.com/ARMmbed/mbed-os.git
Resolving warning: #2524-D: #pragma pop with no matching #pragma push : Pragma push for CC_ARM option is inside GNUC define, same hierarchy to be followed while pop
parent
b703283cb7
commit
9ec78bf177
|
@ -2734,11 +2734,12 @@ void flash_cache_clear(flash_config_t *config)
|
|||
__DSB();
|
||||
#endif /* FLASH_DRIVER_IS_FLASH_RESIDENT */
|
||||
}
|
||||
#if (defined(__GNUC__))
|
||||
/* #pragma GCC pop_options */
|
||||
#else
|
||||
#if (defined(__CC_ARM))
|
||||
#pragma pop
|
||||
#endif
|
||||
#if (defined(__GNUC__))
|
||||
/* #pragma GCC pop_options */
|
||||
#endif
|
||||
|
||||
#if FLASH_DRIVER_IS_FLASH_RESIDENT
|
||||
|
|
|
@ -2734,11 +2734,12 @@ void flash_cache_clear(flash_config_t *config)
|
|||
__DSB();
|
||||
#endif /* FLASH_DRIVER_IS_FLASH_RESIDENT */
|
||||
}
|
||||
#if (defined(__GNUC__))
|
||||
/* #pragma GCC pop_options */
|
||||
#else
|
||||
#if (defined(__CC_ARM))
|
||||
#pragma pop
|
||||
#endif
|
||||
#if (defined(__GNUC__))
|
||||
/* #pragma GCC pop_options */
|
||||
#endif
|
||||
|
||||
#if FLASH_DRIVER_IS_FLASH_RESIDENT
|
||||
|
|
Loading…
Reference in New Issue