portable icon indicating copy to clipboard operation
portable copied to clipboard

[Windows] Mark old_report_mode as unused

Open RandomInEqualities opened this issue 1 year ago • 2 comments

When compiling in release mode the _CrtSetReportMode macro gets replaced by void(0). This makes old_report_mode unused, which visual studio warns about.

RandomInEqualities avatar Apr 08 '24 20:04 RandomInEqualities

Could you add a comment in the code for reference later about why this is needed? Thanks!

busterb avatar Apr 09 '24 01:04 busterb

I updated it and added const to the variables.

RandomInEqualities avatar Apr 09 '24 19:04 RandomInEqualities