forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf4755a2
committed
Make cpluspluscheck more portable.
Teach it to scrape -I and -D switches from CPPFLAGS in Makefile.global.This is useful for testing on, eg, FreeBSD, where you won't get farwithout "-I/usr/local/include".Also, expand the set of blacklisted-for-unportability atomics headers,based on noting that arch-x86.h fails to compile on an ARM box. Theother ones I'd omitted seem to compile all right on architectures theydon't belong to, but that's surely too shaky to rely on. Let's dolike we did for the src/include/port/ headers, and ignore all exceptthe variant that's pulled in by the arch-independent header.1 parent032627e commitf4755a2
1 file changed
+17
-3
lines changedLines changed: 17 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 |
| |
28 | 31 |
| |
| 32 | + | |
29 | 33 |
| |
30 | 34 |
| |
31 | 35 |
| |
32 | 36 |
| |
33 |
| - | |
34 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
35 | 44 |
| |
36 | 45 |
| |
37 | 46 |
| |
| |||
65 | 74 |
| |
66 | 75 |
| |
67 | 76 |
| |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
68 | 81 |
| |
69 | 82 |
| |
70 | 83 |
| |
71 | 84 |
| |
72 | 85 |
| |
| 86 | + | |
73 | 87 |
| |
74 | 88 |
| |
75 | 89 |
| |
| |||
145 | 159 |
| |
146 | 160 |
| |
147 | 161 |
| |
148 |
| - | |
| 162 | + | |
149 | 163 |
| |
150 | 164 |
|
0 commit comments
Comments
(0)