On Sun, 21 Feb 2016, Prasad Ghangal wrote:

> -          pedwarn_init (loc, 0,
> -                "excess elements in array initializer");
> +          pedwarn_init (loc, 0, "excess elements in array initializer "
> +              "(%lu elements, expected %lu)",
> +              tree_to_uhwi (constructor_index) + 1,
> +              tree_to_uhwi (constructor_max_index) + 1);

%lu is not correct for HOST_WIDE_INT.  You need to use %wu.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to