Dear José
Jose Fonseca schrieb am 09.12.2011 19:33:
> ----- Original Message -----
>> Dear mesa-dev list,
>> Kai Wasserbäch schrieb am 09.12.2011 12:59:
>>> AFAICS GCC was missed from the last #elif clause. With this patch
>>> applied the warning is gone.
>>>
>>> Signed-off-by: Kai Wasserbäch <k...@dev.carbon-project.org>
>>> ---
>>>  There certainly other warnings thrown during a build, but I saw
>>>  this one
>>>  scrolling by, while checking on a build. Hence I went to fix it.
>>>
>>>  src/gallium/auxiliary/util/u_math.h |    2 +-
>>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> [...]
> 
> The system headers should normally define thi already.
> 
> "man ffs" says it is defined in strings.h
> 
> Does adding
> 
>   #include <strings.h>
> 
> to u_math.h fixes the issue?

yes, that seems to fix this too.

Kind regards,
Kai Wasserbäch



-- 

Kai Wasserbäch (Kai Wasserbaech)

E-Mail: k...@dev.carbon-project.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to