Skip to content

Use C++20 for jsdec Cutter plugin#67

Merged
kazarmy merged 1 commit intorizinorg:devfrom
kazarmy:jsdec-cutter-c++20
Feb 17, 2026
Merged

Use C++20 for jsdec Cutter plugin#67
kazarmy merged 1 commit intorizinorg:devfrom
kazarmy:jsdec-cutter-c++20

Conversation

@kazarmy
Copy link
Member

@kazarmy kazarmy commented Feb 17, 2026

This pr uses C++20 for the jsdec Cutter plugin since apparently that is what is needed by MSVC nowadays:

jsdec-c++20

(https://github.com/rizinorg/cutter/actions/runs/22019977842/job/63627441483#step:9:11698)

Copy link

@notxvilka notxvilka left a comment

Choose a reason for hiding this comment

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

No objections from me, but I am not sure it will not block compilation on older versions... cc @wargio

@wargio
Copy link
Member

wargio commented Feb 17, 2026

i don't remember writing the plugin using cpp20, but sure.

@kazarmy kazarmy merged commit f53ad7a into rizinorg:dev Feb 17, 2026
6 checks passed
@kazarmy
Copy link
Member Author

kazarmy commented Feb 17, 2026

it's not because of you ... somehow the Windows version of the plugin pulls in stuff like https://github.com/rizinorg/rizin/blob/693dff153b70dfc0745136d78e633b857dcccc22/subprojects/rzheap/rz_glibc/glibc_versions.h#L83-L100 (i've not been able to get g++ to complain; also, making that C++17-compliant is a pita) and according to MSVC (and cppreference.com), that kind of initialization requires C++20

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