[PATCH] D27540: [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 3/7.
    Eric Fiselier via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Dec  7 23:06:05 PST 2016
    
    
  
EricWF added a comment.
> MSVC seriously emits a warning for void foo(short); foo(0); because the literal 0 is an int?
Oh my goodness it does... Your compiler is bad and it should feel bad. It's not like you can write `foo(0s)`.
https://reviews.llvm.org/D27540
    
    
More information about the cfe-commits
mailing list