[llvm-commits] [PATCH] Suppress compiler warning

Chris Lattner clattner at apple.com
Sat Apr 24 21:45:33 PDT 2010


thanks, applied in r102297

On Apr 23, 2010, at 4:00 PM, mike wrote:

> find patch attached:
> 
> Suppress compiler warning.
> Manifests during clang selfhost build on 32-bit linux.
> 
> /.../lib/Archive/ArchiveReader.cpp:124:41: warning: operands of ? are integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
>          pathname.assign(At, nulp != 0 ? nulp - At : len);
>                                        ^ ~~~~~~~~~   ~~~
> 
> --Mike
> 
> <suppress.signcompare.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list