Commit 5208f50
Hackathon User
fix: resolve inspect and build failures
static_linker_check.hpp:
- Replace #include <hpx/config/export_definitions.hpp> with
<hpx/config/defines.hpp>. The file only uses HPX_HAVE_* preprocessor
defines which live in defines.hpp; export_definitions.hpp was an
unnecessary transitive dependency.
- Keep hpxinspect:linelength pragma to suppress the line-length check
for the unsplittable #warning string literal.
local.hpp:
- Remove all automatic hpx_main.hpp inclusion. Including hpx_main.hpp
emits strong (non-weak) symbol definitions and #defines main via a
macro, which breaks any TU that includes local.hpp and also defines
its own main(). This must remain an explicit user opt-in.
- Update doxygen comment to use hpx/modules/ paths and document the
intentional omission of hpx_main.hpp.
local_header.cpp:
- Rewrite test to use hpx::local::init instead of hpx_main.hpp
wrapping, eliminating all dependency on the wrap module.
Refs: #7074
Signed-off-by: shivansh023023 <singhshivansh023@gmail.com>1 parent 1b7b791 commit 5208f50
3 files changed
Lines changed: 25 additions & 38 deletions
File tree
- libs/core
- config/include/hpx/config
- include_local
- include/hpx
- tests/unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
13 | 12 | | |
14 | 13 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 14 | + | |
20 | 15 | | |
21 | 16 | | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
27 | | - | |
| 22 | + | |
28 | 23 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 24 | + | |
34 | 25 | | |
35 | 26 | | |
36 | 27 | | |
37 | 28 | | |
38 | 29 | | |
39 | 30 | | |
40 | | - | |
| 31 | + | |
41 | 32 | | |
42 | 33 | | |
43 | | - | |
44 | | - | |
| 34 | + | |
45 | 35 | | |
46 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
47 | 42 | | |
0 commit comments