Commit 0177542
committed
gh: include config.h in cflite fuzz targets before envmodules.h
lib/envmodules.h declares its ObjCmd entry points with the MODULE_SCOPE
macro, which lib/config.h defines and lib/envmodules.c always includes
first; the fuzz targets only included envmodules.h and relied on
whatever incidental fallback the local Tcl headers happened to
provide, which the stricter clang used on the actual CI image (Ubuntu's
Tcl 8.6) does not: "unknown type name 'MODULE_SCOPE'". Include config.h
first in each fuzz target, same as envmodules.c does.
Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>1 parent 71cecf0 commit 0177542
4 files changed
Lines changed: 4 additions & 0 deletions
File tree
- .clusterfuzzlite
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1516 | 1516 | | |
1517 | 1517 | | |
1518 | 1518 | | |
| 1519 | + | |
0 commit comments