This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling gcc - unknown conversion type
On 12/3/07, Andrew Haley <aph@redhat.com> wrote:
> NightStrike writes:
> > When I compile gcc to target x86_64-pc-mingw32 using either
> > x86_64-pc-linux (FC8) or i686-pc-linux (Gentoo) as the build/host
> > systems, I see a large number of warnings that are all similar to:
> >
> > ../../gcc/gcc/builtins.c: In function 'expand_builtin':
> > ../../gcc/gcc/builtins.c:6292: warning: unknown conversion type
> > character 'K' in format
> > ../../gcc/gcc/builtins.c:6292: warning: too many arguments for format
> > ../../gcc/gcc/builtins.c:6298: warning: unknown conversion type
> > character 'K' in format
> > ../../gcc/gcc/builtins.c:6298: warning: too many arguments for format
> >
> >
> > Any idea on the cause of these?
>
> It means that someone is using "%K" in a printf string, but gcc
> doesn't know what "%K" means in a printf string. I don't think it
> matters.
Why doesn't it matter? Doesn't that mean that the printf statement
won't work as intended?