Re: mc-4.5.30 compilation



>  Blah, i'm thinking this has to be associated with the problem i was
>  having with INT_MAX although this seems to be a function not a
>  definition
>  
>  Compiing mc-4.5.30 on slackware 4.0 beta with egcs 1.1.2 glib/gtk 1.2.1,
>  gnome-libs-1.0.8 (everything in gnome latest)
>  
>  In gscreen.c:951 there's
>          if (MAX (abs (panel->click_x - event->x),
>                   abs (panel->click_y - event->y)) <= 3)
>                  return FALSE;
>  
>  I'm getting undefinfed references to that MAX function.  I've been
>  looking through all the header files included within gscreen.c but can't
>  find any definition for it.  Output from failed compilation is below

This is weird, since the MAX macro is defined in glib.h, and this is
being included by gscreen.c.

Could you please track the problem down?

  Federico



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