- Notifications
You must be signed in to change notification settings - Fork5
Commit4c8aa8b
committed
Fix "quiet inline" configure test for newer clang compilers.
This test used to just define an unused static inline function and checkwhether that causes a warning. But newer clang versions warn aboutunused static inline functions when defined inside a .c file, but notwhen defined in an included header, which is the case we care about.Change the test to cope.Andres Freund1 parent3f8c8e3 commit4c8aa8b
3 files changed
+19
-3
lines changedLines changed: 13 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
23 | 34 |
| |
24 | 35 |
| |
25 | 36 |
| |
| |||
28 | 39 |
| |
29 | 40 |
| |
30 | 41 |
| |
31 |
| - | |
| 42 | + | |
32 | 43 |
| |
33 | 44 |
| |
34 | 45 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9725 | 9725 |
| |
9726 | 9726 |
| |
9727 | 9727 |
| |
9728 |
| - | |
| 9728 | + | |
9729 | 9729 |
| |
9730 | 9730 |
| |
9731 | 9731 |
| |
|
0 commit comments
Comments
(0)