Compilation problem on FreeBSD 4.4

Pavel Roskin proski at gnu.org
Wed Jan 2 20:09:18 UTC 2002


Hi!

> > > I am getting:
> > > edit.c: In function `free_selections':
> > > edit.c:1606: `selection_history' undeclared (first use in this function)

I remember compiling mc just before releasing 4.5.55 on either FreeBSD 
4.2 or FreeBSD 4.3.

I think that something is wrong with a hack that made it possible to
initialize variables in the header file edit.h.  File edit.c used to
define _EDIT_C to THIS_IS, which was used to deternime whether the file
wants a declaration with a value or without.

My guess is that either _EDIT_C or THIS_IS is redefined somewhere.  This 
hack doesn't exist in the current source.  You may want to take the latest 
snapshot from 
http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/snapshots/

-- 
Regards,
Pavel Roskin




More information about the mc-devel mailing list