Hi Sal,
Yes, if you do not get any compiler warnings then it is fine.
Thank Milorad, It isn't showing the error or warning, but is there any alternative for this pragma for arm compiler 6 (arm clang)
Well Sal,
in the screenshot you attached it says "which is enabled by default in armclang" it means you do not need to do anything to enable the feature, you can, however, disable the feature meaning compiler will by default complain about it with -pedantic option.
So, by default, you are good to go.