Skip to content

v.builder: enable fwrap for C compilation on OpenBSD#24585

Merged
spytheman merged 1 commit into
vlang:masterfrom
lcheylus:openbsd-fwrapv
May 29, 2025
Merged

v.builder: enable fwrap for C compilation on OpenBSD#24585
spytheman merged 1 commit into
vlang:masterfrom
lcheylus:openbsd-fwrapv

Conversation

@lcheylus

@lcheylus lcheylus commented May 26, 2025

Copy link
Copy Markdown
Contributor

-fwrap option for C compilation ("Treat signed integer overflow as two's complement") is supported by tcc, clang and gcc on OpenBSD => enable it in vlib/v/builder/cc.v

Tests OK on OpenBSD current/amd64 with tcc, clang and gcc

$ VTEST_JUST_ESSENTIAL=1 VTEST_SANDBOXED_PACKAGING=1 ./v -W test-self

Signed-off-by: Laurent Cheylus <foxy@free.fr>
@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-22950

@spytheman spytheman merged commit 27d318e into vlang:master May 29, 2025
74 of 75 checks passed
@lcheylus lcheylus deleted the openbsd-fwrapv branch May 29, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants