[cfe-commits] Patch to make clang compile and work on Windows using MSVC8

Chris Lattner clattner at apple.com
Sat Sep 1 13:04:01 PDT 2007

On Sep 1, 2007, at 12:59 PM, Hartmut Kaiser wrote:

> Steve,
>>> As promised, please find attached the patch containign the
>> minor fixes
>>> I applied to make clang compile using MSVC8. Some of the
>> changes are
>>> really minor and I applied these only to get rid of some of the
>>> generated warnings.
>>> The compilation still produces a lot of warnings wrt to a possible
>>> loss of precision while converting uint64_t's to
>> uint32_t's. Is this a
>>> known issue?
>>> Do you intend to fix these?
>> I am unaware of these (compiling clang on MacOS produces 0 warnings).
> Do you want me to fix these? At least I could try :-P

That would be great :).  I think that this is due to a warning that VC 
++ produces that GCC doesn't by default.  Most of these can be  
resolved by inserting the appropriate casts.


More information about the cfe-commits mailing list