You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm constantly get the folowing warnings during build:
In file included from f:/tmp/llvm/build/../src/lib/System/Path.cpp:107:
f:/tmp/llvm/build/../src/lib/System/Win32/Path.inc: In static member function static llvm::sys::Path llvm::sys::Path::GetTemporaryDirectory()': f:/tmp/llvm/build/../src/lib/System/Win32/Path.inc:124: warning: unsigned int format, DWORD arg (arg 3) f:/tmp/llvm/build/../src/lib/System/Win32/Path.inc: In member function void
llvm::sys::Path::getStatusInfo(llvm::sys::Path::StatusInfo&) const':
f:/tmp/llvm/build/../src/lib/System/Win32/Path.inc:343: warning: left shift
count >= width of type
Today I've decided to look inside.
The first warning fixes easily just by casting DWORD to unsigned.
The second is much more hm...
Extended Description
I'm constantly get the folowing warnings during build:
In file included from f:/tmp/llvm/build/../src/lib/System/Path.cpp:107:
f:/tmp/llvm/build/../src/lib/System/Win32/Path.inc: In static member function
static llvm::sys::Path llvm::sys::Path::GetTemporaryDirectory()': f:/tmp/llvm/build/../src/lib/System/Win32/Path.inc:124: warning: unsigned int format, DWORD arg (arg 3) f:/tmp/llvm/build/../src/lib/System/Win32/Path.inc: In member function
voidllvm::sys::Path::getStatusInfo(llvm::sys::Path::StatusInfo&) const':
f:/tmp/llvm/build/../src/lib/System/Win32/Path.inc:343: warning: left shift
count >= width of type
Today I've decided to look inside.
The first warning fixes easily just by casting DWORD to unsigned.
The second is much more hm...
Win32/Path.inc:343:
info.fileSize = fi.nFileSizeHigh;
info.fileSize <<= 32;
info.fileSize += fi.nFileSizeLow;
info is StatusInfo, so fileSize is size_t, which is 32 bits here.
The main question: should this get fixed somehow or not?
The text was updated successfully, but these errors were encountered: