[MPlayer-dev-eng] [PATCH] mp_msg.c - iconv poiners

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Nov 24 12:09:33 CET 2007


Hello,
On Sat, Nov 24, 2007 at 07:01:34PM +0800, Zuxy Meng wrote:
[...]
> Maybe there's some version difference:
> 
> http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.3.html
> has const, and says it complies with POSIX:2001. But

I do not have POSIX 2001, but in doubt the latest version applies.
But my man page claims to be according to POSIX.1-2001 and it does not
use const. Someone obviously lacks some reading skills.

> http://www.opengroup.org/onlinepubs/009695399/functions/iconv.html has
> restrict instead.

restrict is something completely different, and in addition C99 only so
it is no surprise it is not used often yet. But it won't cause any
warnings anyway.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list