Commit 48a54b7
Silence #pragma-once native build warning so docs lint passes
The lint CI job runs `mix docs && mix docs 2>&1 | (! grep -q "warning:")`.
The unifex-generated cnode source `_generated/cnode/native.c` begins with
`#pragma once`, and the GCC version now shipped in the CI docker image emits
a `#pragma once in main file` warning when compiling it. GCC has no dedicated
`-Wno-*` flag for this diagnostic, so the only reliable way to keep this
generated-code noise out of the docs warning check is `-w` on the native.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 3b936ab commit 48a54b7
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
| |||
0 commit comments