[MPlayer-users] ..i can't compile

Sven Goethel sgoethel at jausoft.com
Wed Oct 24 18:15:53 CEST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 24 October 2001 18:02, Mike Melanson wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html &
>  http://gcc.gnu.org/gcc-2.96.html if you still have questions or problems]
>
> On Wed, 24 Oct 2001, Rui Maia wrote:
> > vo_gl2.c:917:1: directives may not be used inside a macro argument
> > vo_gl2.c:917:1: unterminated argument list invoking macro "printf"
> > vo_gl2.c:918: parse error before string constant
>

hmm ... (problem lines are marked with ** )

printf("[gl2] Using image_bpp=%d, image_bytes=%d, isBGR=%d, \n\tgl_bitmap_format=%s, gl_bitmap_type=%s, \n\tgl_alignment=%d, rgb_size=%d (%d,%d,%d), a_sz=%d, \n\tgl_internal_format=%s, tweaks=%s\n",
        image_bpp, image_bytes, image_mode==MODE_BGR,
        gl_bitmap_format_s, gl_bitmap_type_s, gl_alignment,
        rgb_sz, r_sz, g_sz, b_sz, a_sz, gl_internal_format_s,
** #ifdef HAVE_MMX
**        "mmx_bpp"
** #else
**        "none"
** #endif
);

since when "printf" is a macro ???

we do include stdio.h ..
	extern int printf (__const char *__restrict __format, ...);

so what the hell is incompatible with the ansi-c std. ?

sven
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE71uk9HdOA30NoFAARAgWlAJ9D24TIsCH0wDpq8pmD8C1LUEfivwCdGBjY
HlNcfz60orzd2IB0SNgm3Ek=
=5+P2
-----END PGP SIGNATURE-----



More information about the MPlayer-users mailing list