Patch to remove Warnings

Dear all,

When I tried to compile LLVM, I found these annoying warnings. I actually found several other, but this patch deals with the trivial ones

Regards,

Rizky Herucakra

patch_to_remove_few_warning.patch (1.02 KB)

Hi Rizky,

When I tried to compile LLVM, I found these annoying warnings. I
actually found several other, but this patch deals with the trivial ones

what were the warnings?

Ciao,

Duncan.

Looks great to me, applied in r105886, thanks!

-Chris

sorry, forgot to reply to mailing list :slight_smile:

Hi all,

Speaking about warnings, we're seeing the following warnings when
building LLVM/Clang on FreeBSD/amd64.

When using GCC:
  http://amd64-clang-bot.qat.freebsd.org:8010/builders/freebsd-clang-amd64/builds/20/steps/compile-llvm.1/logs/warnings

When using Clang:
  http://amd64-clang-bot.qat.freebsd.org:8010/builders/freebsd-clang-amd64/builds/20/steps/compile-llvm.2/logs/warnings

Speaking about warnings, we're seeing the following warnings when
building LLVM/Clang on FreeBSD/amd64.

Which versions of LLVM/Clang? Also, X86GenAsmWriter.inc is a generated file,
so you may want to attach it so people can see exactly what the warnings are
referring to.

Ciao,

Duncan.

I fixed a few of these. I don't know how to fix the gtest warnings though.

-Chris

Hi all,

Speaking about warnings, we’re seeing the following warnings when
building LLVM/Clang on FreeBSD/amd64.

When using GCC:
http://amd64-clang-bot.qat.freebsd.org:8010/builders/freebsd-clang-amd64/builds/20/steps/compile-llvm.1/logs/warnings

When using Clang:
http://amd64-clang-bot.qat.freebsd.org:8010/builders/freebsd-clang-amd64/builds/20/steps/compile-llvm.2/logs/warnings

I fixed a few of these. I don’t know how to fix the gtest warnings though.

I’ll look at the gtest warnings when I get a chance. Or maybe Jeffrey will beat me to it.