Commit f0fa805
committed
CI: Fix failure on macos 26
Updated clang gives warnings:
/Users/runner/work/AtomVM/AtomVM/src/platforms/generic_unix/lib/sys.c:484:40: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant]
484 | char port_driver_name[64 + strlen("avm_"
| ~~~~~^~~~~~~~~~~~~
485 | "_port_driver.so")
| ~~~~~~~~~~~~~~~~~~
486 | + 1];
| ~~~
/Users/runner/work/AtomVM/AtomVM/src/platforms/generic_unix/lib/sys.c:493:41: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant]
493 | char port_driver_func_name[64 + strlen("_create_port") + 1];
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
Signed-off-by: Peter M <petermm@gmail.com>1 parent 9be121e commit f0fa805
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
529 | | - | |
530 | | - | |
| 528 | + | |
531 | 529 | | |
532 | 530 | | |
533 | 531 | | |
534 | 532 | | |
535 | 533 | | |
536 | 534 | | |
537 | | - | |
| 535 | + | |
538 | 536 | | |
539 | 537 | | |
540 | 538 | | |
| |||
0 commit comments