mc failed to compile with --enable-charset



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]