good first issuehelp wanted
倉庫指標
- Star
- (7,968 star)
- PR 合併指標
- (平均合併 4天 2小時) (30 天內合併 19 個 PR)
描述
sysinfo fails to compile on OSX with ICC due to two issues:
error #2259 is caused by the return value from sysinfo.cc:558 being implicitly cast from unsigned long long to double.
error #177 is caused by methods at sysinfo.cc:112 ValueUnion::GetAsString and sysinfo:114 ValueUnion::GetAsInteger being unused.
To resolve this we should:
- add an explicit cast for
hztodouble - add
-wd177to the ICC compiler flags