- Notifications
You must be signed in to change notification settings - Fork5
Commitde6fd1c
committed
Rely on inline functions even if that causes warnings in older compilers.
So far we have worked around the fact that some very old compilers donot support 'inline' functions by only using inline functionsconditionally (or not at all). Since such compilers are very rare bynow, we have decided to rely on inline functions from 9.6 onwards.To avoid breaking these old compilers inline is defined away when notsupported. That'll cause "function x defined but not used" type ofwarnings, but since nobody develops on such compilers anymore that'sok.This change in policy will allow us to more easily employ inlinefunctions.I chose to remove code previously conditional on PG_USE_INLINE as itseemed confusing to have code dependent on a define that's alwaysdefined.Blacklisting of compilers, like inc53f738, now has to be donedifferently. A platform template can define PG_FORCE_DISABLE_INLINE toforce inline to be defined empty.Discussion: 20150701161447.GB30708@awork2.anarazel.de1 parenta855118 commitde6fd1c
File tree
29 files changed
+92
-415
lines changed- config
- src
- backend
- lib
- nodes
- port
- utils
- adt
- mmgr
- sort
- include
- access
- lib
- nodes
- port
- atomics
- utils
- template
29 files changed
+92
-415
lines changedLines changed: 0 additions & 34 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 | 20 |
| |
55 | 21 |
| |
56 | 22 |
| |
|
Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 0 additions & 38 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11006 | 11006 |
| |
11007 | 11007 |
| |
11008 | 11008 |
| |
11009 |
| - | |
11010 |
| - | |
11011 |
| - | |
11012 |
| - | |
11013 |
| - | |
11014 |
| - | |
11015 |
| - | |
11016 |
| - | |
11017 |
| - | |
11018 |
| - | |
11019 |
| - | |
11020 |
| - | |
11021 |
| - | |
11022 |
| - | |
11023 |
| - | |
11024 |
| - | |
11025 |
| - | |
11026 |
| - | |
11027 |
| - | |
11028 |
| - | |
11029 |
| - | |
11030 |
| - | |
11031 |
| - | |
11032 |
| - | |
11033 |
| - | |
11034 |
| - | |
11035 |
| - | |
11036 |
| - | |
11037 |
| - | |
11038 |
| - | |
11039 |
| - | |
11040 |
| - | |
11041 |
| - | |
11042 |
| - | |
11043 |
| - | |
11044 |
| - | |
11045 |
| - | |
11046 |
| - | |
11047 | 11009 |
| |
11048 | 11010 |
| |
11049 | 11011 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1309 | 1309 |
| |
1310 | 1310 |
| |
1311 | 1311 |
| |
1312 |
| - | |
| 1312 | + | |
1313 | 1313 |
| |
1314 | 1314 |
| |
1315 | 1315 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 | 21 |
| |
25 | 22 |
| |
26 | 23 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 | 18 |
| |
22 | 19 |
| |
23 | 20 |
| |
|
Lines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 | 16 |
| |
24 | 17 |
| |
25 | 18 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 | 23 |
| |
27 | 24 |
| |
28 | 25 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 | 22 |
| |
26 | 23 |
| |
27 | 24 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 | 18 |
| |
22 | 19 |
| |
23 | 20 |
| |
|
Lines changed: 1 addition & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
952 | 952 |
| |
953 | 953 |
| |
954 | 954 |
| |
955 |
| - | |
956 |
| - | |
957 |
| - | |
| 955 | + | |
958 | 956 |
| |
959 |
| - | |
960 | 957 |
| |
961 | 958 |
| |
962 | 959 |
| |
| |||
970 | 967 |
| |
971 | 968 |
| |
972 | 969 |
| |
973 |
| - | |
974 |
| - | |
975 |
| - | |
976 | 970 |
| |
977 | 971 |
|
Lines changed: 14 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
56 | 70 |
| |
57 | 71 |
| |
58 | 72 |
| |
| |||
920 | 934 |
| |
921 | 935 |
| |
922 | 936 |
| |
923 |
| - | |
924 |
| - | |
925 |
| - | |
926 |
| - | |
927 |
| - | |
928 |
| - | |
929 |
| - | |
930 |
| - | |
931 |
| - | |
932 |
| - | |
933 |
| - | |
934 |
| - | |
935 |
| - | |
936 |
| - | |
937 |
| - | |
938 |
| - | |
939 |
| - | |
940 |
| - | |
941 |
| - | |
942 |
| - | |
943 |
| - | |
944 |
| - | |
945 |
| - | |
946 |
| - | |
947 |
| - | |
948 |
| - | |
949 |
| - | |
950 |
| - | |
951 | 937 |
| |
952 | 938 |
| |
953 | 939 |
| |
|
0 commit comments
Comments
(0)