There is a new pull request by sgn against master on the void-packages repository https://github.com/sgn/void-packages gcc-12 https://github.com/void-linux/void-packages/pull/40885 [do not merge] fix build for gcc 12 #### Testing the changes - I tested the changes in this PR: **YES**|**briefly**|**NO** A patch file from https://github.com/void-linux/void-packages/pull/40885.patch is attached