[argyllcms] Re: Patch: fix missing header, format security warnings

Am 09.06.09, 19:32 +0200 schrieb Frederic Crozat:

the following patch fixes some warnings caused by missing headers and
usage of -Werror=format-security (as used by default in latest
Mandriva release), as well as missing parameters in a DBG call.

According to Posix zero arguments to the fprintf format string are fine:
http://www.opengroup.org/onlinepubs/009695399/functions/fprintf.html

What is the rationale behind a (?):
-                    fprintf(stderr, "put me on stderr");
+                    fprintf(stderr, "%s", "put me on stderr");


kind regards
Kai-Uwe Behrmann
--
developing for colour management www.behrmann.name + www.oyranos.org


Other related posts: