Project

General

Profile

Actions

Misc #17829

open

Clang/LLVM correctness of x64-mingw32 build (`shorten-64-to-32` warnings)

Added by xtkoba (Tee KOBAYASHI) almost 3 years ago.

Status:
Open
Assignee:
-
[ruby-core:103595]

Description

The attached log is from make miniruby for x64-mingw32 with Clang/LLVM. Warnings are silenced except for -Wshorten-64-to-32.

This might not be an issue solely for Clang/LLVM, because the size of each type is the same as that in GCC.

I believe most of them are false positive. It would be easy to silence these warnings by explicit type casting. But before doing so, it must be checked whether each shortening is legitimate or not.

Version: ruby 3.1.0dev (2021-04-26T13:46:51Z master 203eeeefdd) [x64-mingw32]


Files

No data to display

Actions

Also available in: Atom PDF

Like0