equal
deleted
inserted
replaced
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * e32\include\e32def.h |
15 * e32\include\e32def.h |
|
16 * |
16 * NOTE: THIS FILE SHOULD BE ACCEPTABLE TO A C COMPILER |
17 * NOTE: THIS FILE SHOULD BE ACCEPTABLE TO A C COMPILER |
17 * |
|
18 * |
|
19 */ |
18 */ |
20 |
19 |
21 |
20 |
22 |
21 |
23 #ifndef __E32DEF_H__ |
22 #ifndef __E32DEF_H__ |
24 #define __E32DEF_H__ |
23 #define __E32DEF_H__ |
|
24 |
25 |
25 |
26 /* |
26 /* |
27 * __LEAVE_EQUALS_THROW__ requires the compiler to support C++ exceptions |
27 * __LEAVE_EQUALS_THROW__ requires the compiler to support C++ exceptions |
28 */ |
28 */ |
29 #ifndef __SUPPORT_CPP_EXCEPTIONS__ |
29 #ifndef __SUPPORT_CPP_EXCEPTIONS__ |
30 #undef __LEAVE_EQUALS_THROW__ |
30 #undef __LEAVE_EQUALS_THROW__ |
|
31 #endif |
|
32 |
|
33 |
|
34 /* |
|
35 * RVCT 3.1 and 4.0 read past the end of arrays when the optimiser rotates loops. |
|
36 * This only happens when using -O3 -Otime, so force to -O2. |
|
37 */ |
|
38 #if __ARMCC_VERSION >= 310000 && !defined(_DEBUG) && !defined(ARMCC_LOOP_ROTATE_DISABLED) |
|
39 #pragma O2 |
31 #endif |
40 #endif |
32 |
41 |
33 |
42 |
34 #if defined(__VC32__) |
43 #if defined(__VC32__) |
35 /** |
44 /** |