Repository navigation
Commit 388e37c
committed
Merge #386: gen: make
c8ca0c0 ci: add -Wmissing-declarations to default.bash (fanquake)
641c78e ci: add -Wmissing-prototypes to LLVM config (fanquake)
52a028c gen: make AccessorType static (fanquake)
Pull request description:
```bash
[4/62] Building CXX object CMakeFiles/mpgen.dir/src/mp/gen.cpp.o
libmultiprocess/src/mp/gen.cpp:208:13: warning: no previous prototype for function 'AccessorType' [-Wmissing-prototypes]
208 | std::string AccessorType(kj::StringPtr base_name, const Field& field)
| ^
libmultiprocess/src/mp/gen.cpp:208:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
208 | std::string AccessorType(kj::StringPtr base_name, const Field& field)
| ^
| static
1 warning generated.
```
Used downstream in bitcoin/bitcoin#36743.
ACKs for top commit:
ryanofsky:
Code review ACK c8ca0c0. Since last review, just added `-Wmissing-declarations` to the GCC CI config. Thanks!
Tree-SHA512: 249f93a37469b757d712467b5070fb1b2ccd09e43a799eb6bd6c8330cf7a785dfa4f34439f78d3ce426061cb522f6b366a7e33e4fda46f4398dcbe95b1ca90beAccessorType static3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
0 commit comments