Nugget
atomic_push_compiler_options.h
1 // Copyright (c) Electronic Arts Inc. All rights reserved.
4 
5 
6 /* NOTE: No Header Guard */
7 
8 
9 // 'class' : multiple assignment operators specified
10 EA_DISABLE_VC_WARNING(4522);
11 
12 // misaligned atomic operation may incur significant performance penalty
13 // The above warning is emitted in earlier versions of clang incorrectly.
14 // All eastl::atomic<T> objects are size aligned.
15 // This is static and runtime asserted.
16 // Thus we disable this warning.
17 EA_DISABLE_CLANG_WARNING(-Watomic-alignment);