Brian Paul wrote on 07/23/2015 03:58 PM: > Fix many instances of: > main/shaderapi.c: In function '_mesa_GetSubroutineUniformLocation': > main/shaderapi.c:2176:7: warning: format not a string literal and no format > arguments [-Wformat-security] > _mesa_error(ctx, GL_INVALID_OPERATION, api_name); > ^ > > Ideally, many of these error messages should be improved to indicate > which argument is incorrect as we do in other parts of Mesa.
Reviewed-by: Kai Wasserbäch <k...@dev.carbon-project.org> Tested-by: Kai Wasserbäch <k...@dev.carbon-project.org> Thanks, this broke my build (with a -Werror=format-security from Debian's default build flags). Cheers, Kai
signature.asc
Description: OpenPGP digital signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev