Skip to content

cgen: fix smartcast codegen for msvc#23084

Merged
spytheman merged 7 commits intovlang:masterfrom
felipensp:fix_msvc_prod
Dec 8, 2024
Merged

cgen: fix smartcast codegen for msvc#23084
spytheman merged 7 commits intovlang:masterfrom
felipensp:fix_msvc_prod

Conversation

@felipensp
Copy link
Copy Markdown
Member

@felipensp felipensp commented Dec 7, 2024

This PR aims to fix msvc build removing usage of ADDR macro on __as_cast() calls which makes msvc messed up with precedence order (even on non-prod builds)

Huly®: V_0.6-21522

@felipensp felipensp changed the title cgen: fix msvc -prod cgen: fix smartcast codegen for msvc Dec 7, 2024
Comment thread vlib/v/ast/ast.v Outdated
felipensp and others added 3 commits December 7, 2024 06:56
Co-authored-by: Swastik Baranwal <swstkbaranwal@gmail.com>
@felipensp felipensp marked this pull request as ready for review December 7, 2024 17:00
Copy link
Copy Markdown
Contributor

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman merged commit 9dd466c into vlang:master Dec 8, 2024
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.

3 participants