Open Issues Need Help
View All on GitHub Compilation error C2220 with warning C4267 on msvc with _UNICODE UNICODE about 2 months ago
AI Summary: The task is to debug a compilation error (C2220) stemming from a warning (C4267) in the Google Benchmark library when building with MSVC and the UNICODE and _UNICODE preprocessor definitions. The error arises from a type conversion from 'size_t' to 'int', potentially losing data. The solution involves investigating the `sysinfo.cc` file around line 464 and modifying the code to handle the 'size_t' type appropriately, likely by changing the integer type to a wider one capable of holding the 'size_t' value without truncation.
Complexity:
3/5
good first issue help wanted