Re: FVWM: Preprozessor error

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Wed, 13 Nov 2002 10:42:35 +0100

On Tue, Nov 12, 2002 at 05:59:28PM -0800, Denis Perelyubskiy wrote:
> * <dominik.vogt_at_gmx.de> [12-Nov-02 17:55 -0800]:
> >
> >On Mon, Nov 11, 2002 at 10:02:36AM +0100, midan23_at_gmx.de wrote:
> >> Hi,
> >>
> >> I tried to compile fvwm (version 2.4.13) on my Mac
> >> (Mac OS X 10.2.1, Compiler is gcc 3.1) and I got an
> >> error ...
> >>
> >> Here is the output :
> >> menus.c:240: illegal expression, found 'void'
> >> fvwm.h:120: parse error in conditional expression
> >>
> >> It seems to me that the preprozessor doesn't like
> >> #if RETSIGTYPE != void
> >>
> >> What can I do to compile fvwm ?
> >> (And please, don't tell me that I should update my compile, I can't do it
> >
> >Well, if upgrading is out of the question, how about downgrading?
> >Are you maybe running a broken cpp? Is it definitely the one that
> >comes with gcc?
> [...]
>
> I know next to nothing about the way fvwm is built (I know
> it works when I ./configure/make it :) ), but it seems that
> RETSIGTYPE is defined in config.h. Is that file dynamically
> generated?
>
> I could see how if that file is not present (or is for some
> reason wrong) and RETSIGTYPE is not defined, you'd get an
> error message, since preprocessor would see something like
> #if != void

Then it should stop compiling when it reaches the

  #include "config.h"

line.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 Nov 13 2002 - 03:44:06 GMT

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