Re: FVWM: Preprozessor error

From: Denis Perelyubskiy <denisp_at_CS.UCLA.EDU>
Date: Tue, 12 Nov 2002 17:59:28 -0800

  * <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

denis

-- 
// mailto: Denis Perelyubskiy <denisp_at_CS.UCLA.EDU>
// icq   : 12359698
// PGP   : http://www.cs.ucla.edu/~denisp/files/pgp.asc
--
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 Tue Nov 12 2002 - 20:01:08 GMT

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