[Mesa-dev] [PATCH v2] util: Only use open coded snprintf for MSVC.

Brian Paul brianp at vmware.com
Fri Nov 16 07:42:30 PST 2012


On 11/15/2012 12:41 PM, Vinson Lee wrote:
> MinGW has snprintf.
>
> The patch fixes these warnings with the MinGW SCons build.
>
> src/gallium/auxiliary/util/u_snprintf.c:459:1: warning: no previous prototype for ‘util_vsnprintf’ [-Wmissing-prototypes]
> src/gallium/auxiliary/util/u_snprintf.c:1436:1: warning: no previous prototype for ‘util_snprintf’ [-Wmissing-prototypes]
>
> Signed-off-by: Vinson Lee<vlee at freedesktop.org>


Tested-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list