mc failed to compile with --enable-charset

Walery Studennikov despair at sama.ru
Fri Jul 27 06:46:44 UTC 2001


In main.c:

#if !defined(HAVE_CHARSET) && !defined(HAVE_X)
int eight_bit_clean = 1;

int full_eight_bits = 1;
#endif /* !HAVE_CHARSET && !HAVE_X */


^-- DO NOT declare eight_bit_clean and full_eight_bits if HAVE_CHARSET

static void setup_pre (void)
{
#ifdef HAVE_CHARSET
    int full_eight_bits = (display_codepage != 0 && display_codepage != 1);
#endif
	
}

^--- USE full_eight_bits if HAVE_CHARSET !

It is clear that main.c fails to compile.


Regards, Walery




More information about the mc-devel mailing list