Re: FVWM: compile error

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 21 Feb 2001 05:15:57 -0600

On 20 Feb 2001 21:07:46 -0700, Ed Sylvis wrote:
>
> I'm using Slackware 7.1 on a PS/2 95 box and I'm having the following
> problem.

You did't specify your FVWM version. I suppose it is 2.2.x.

> During the compile for fvwm.c I'm getting the following errors -
>
> fvwm.c: In function 'main':
> fvwm.c:264: warning: assignment from incompatible pointer type
> fvwm.c At top level:
> fvwm.c:884: conflicting types for 'Restart'
> fvwm.h:364: previous declaration of 'Restart'
> fvwm.c:1444: conflicting types for 'SigDone'
> fvwm.h:363: previous declaration of SigDone'

Yes, it seems like 2.2.x versions have this problem, 2.3.x don't have.

Try to fix the function declarations in fvwm.h:

  extern void SigDone(int);
  extern void Restart(int nonsense);

replace them with:

  extern RETSIGTYPE SigDone(int nonsense);
  extern RETSIGTYPE Restart(int nonsense);

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Feb 21 2001 - 05:16:56 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST