Re: Update to gd

Jacob Nevins <[email protected]>
Newsgroups gmane.games.freeciv.internationalization
Message-ID <[email protected]>
Michael Bauer writes:
> I saw that but I don't get the error message.

I can't remember where I got the error -- it was "make" or "make
install".

> The source uses two different placeholders, %s and %d once each. Why
> do I need to order them?

In C, the format specifiers in the format string (%s and %d) tell
printf() and friends how to interpret the arguments. printf() can't look
at its first argument and say "oh, that's a number, I'll match it up
with the %d"; C's low-level enough that such run-time type information
is not available. It would likely try to interpret its numeric first
argument as a pointer to a string, and comedy would ensue.

(Plus, such a special case wouldn't be very generally useful.)

I take it my corrections are the right way round?

_______________________________________________
Freeciv-i18n mailing list
Freeciv-i18n-8nu/[email protected]
https://mail.gna.org/listinfo/freeciv-i18n
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.