Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a deleter type insteadl of function pointer to close FILE. #2051

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Use a deleter type insteadl of function pointer to close FILE. #2051

merged 1 commit into from
Dec 14, 2023

Conversation

hzeller
Copy link
Collaborator

@hzeller hzeller commented Dec 14, 2023

gcc12 complains that some attribute of fclose() is not kept ('ignoring attributes on template argument 'int ()(FILE)'). Changing this to a deleter type which is anyway more clean.

gcc12 complains that some attribute of fclose() is not kept
('ignoring attributes on template argument 'int (*)(FILE*)'). Changing
this to a deleter type which is anyway more clean.
@hzeller hzeller requested a review from ivan444 December 14, 2023 14:00
@hzeller hzeller merged commit d73cde5 into chipsalliance:master Dec 14, 2023
31 of 33 checks passed
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