Skip to content

2026 06 25 workflow maintenance 3.24#6193

Draft
craigcomstock wants to merge 3 commits into
cfengine:3.24.xfrom
craigcomstock:2026-06-25-workflow-maintenance-3.24
Draft

2026 06 25 workflow maintenance 3.24#6193
craigcomstock wants to merge 3 commits into
cfengine:3.24.xfrom
craigcomstock:2026-06-25-workflow-maintenance-3.24

Conversation

@craigcomstock

Copy link
Copy Markdown
Contributor
  • Bump libntech to latest
  • Added -Wextra and -Wno-sign-compare to github workflow gcc options
  • Refactored variable length array code to use alloca()

Ticket: none
Changelog: none
(cherry picked from commit 3423caf)
This will catch more warnings as errors and help us keep our code cleaner.

Ticket: ENT-14208
Changelog: none
(cherry picked from commit 7544e66)
While VLAs are supported in C99 and C11, they do pose some portability issues so best to avoid their use.

alloca() allocates on the stack frame and is free'd on exit from the function so essentially equivalent.

Ticket: ENT-14208
Changelog: none
(cherry picked from commit 6e95201)
@craigcomstock

Copy link
Copy Markdown
Contributor Author

This includes a libntech bump to master. Not sure that is truly needed so that commit could be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant