FreeBSD Bugzilla – Attachment 164939 Details for
Bug 205788
libc++ does not build on i386 clang gives error on inpllicit conversion from long long to unsigned int
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
code propper conversion in the macro call __first_ at line 255 in file bitset
bitset.patch (text/plain), 683 bytes, created by
lenzi.sergio
on 2016-01-01 20:30:51 UTC
(
hide
)
Description:
code propper conversion in the macro call __first_ at line 255 in file bitset
Filename:
MIME Type:
Creator:
lenzi.sergio
Created:
2016-01-01 20:30:51 UTC
Size:
683 bytes
patch
obsolete
>diff -up /usr/src/lib/libc++/../../contrib/libc++/include/bitset.orig /usr/src/lib/libc++/../../contrib/libc++/include/bitset >--- /usr/src/lib/libc++/../../contrib/libc++/include/bitset.orig 2016-01-01 18:19:56.628986000 -0200 >+++ /usr/src/lib/libc++/../../contrib/libc++/include/bitset 2016-01-01 18:20:03.213508000 -0200 >@@ -252,7 +252,7 @@ __bitset<_N_words, _Size>::__bitset(unsi > #if __SIZEOF_SIZE_T__ == 8 > : __first_{__v} > #elif __SIZEOF_SIZE_T__ == 4 >- : __first_{__v, __v >> __bits_per_word} >+ : __first_{static_cast<unsigned int>(__v),static_cast<unsigned int>(__v >> __bits_per_word)} > #else > #error This constructor has not been ported to this platform > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205788
: 164939