Re: clang: warning: argument unused during compilation: '-fno-builtin-memcmp'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 18, 2013 at 6:25 PM, Matt Turner <mattst88@xxxxxxxxx> wrote:
> On Thu, Jan 17, 2013 at 8:19 PM, Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote:
>> Hi,
>>
>> I am playing with llvm/clang v3.2 and mesa.
>>
>> It's annoying to see these hundreds of warnings...
>>
>>     clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
>>
>> NOTE: '-fno-builtin-memcmp' is a gcc-specific compiler-flag.
>>
>> I have done here a brutal solution, maybe someone else has a more elegant one.
>>
>> Thanks.
>>
>> Regards,
>> - Sedat -
>
>> mesa3d-dev@xxxxxxxxxxxxxxxxxxxxx
>
> Please send to mesa-dev@xxxxxxxxxxxxxxxxxxxxx and not the sourceforge list.
>
> -fno-builtin-memcmp is added to CFLAGS inside a block that checks if
> the compiler is gcc:
>
> dnl Add flags for gcc and g++
> if test "x$GCC" = xyes; then
>     ...
>     CFLAGS_FOR_BUILD="$CFLAGS_FOR_BUILD -fno-builtin-memcmp"
>     CFLAGS="$CFLAGS -fno-builtin-memcmp"
>     ...
> fi

YUPP, I had a look at configure.ac and other files.
For clang -fno-builtin-memcmp is added to compiler-flags anyway and
flooded my build-log.
Dunno, how to fix it...

- Sedat -
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux