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(-) diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h index f908341..068a8d1 100644 --- a/src/gallium/auxiliary/util/u_math.h +++ b/src/gallium/auxiliary/util/u_math.h @@ -364,7 +364,7 @@ unsigned ffs( unsigned u ) return i; } -#elif defined(__MINGW32__) || defined(PIPE_OS_ANDROID) +#elif defined(__MINGW32__) || defined(PIPE_OS_ANDROID) || defined(PIPE_CC_GCC) #define ffs __builtin_ffs #endif -- 1.7.7.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev