On Tue, Nov 12, 2002 at 05:59:28PM -0800, Denis Perelyubskiy wrote: > * <[EMAIL PROTECTED]> [12-Nov-02 17:55 -0800]: > > > >On Mon, Nov 11, 2002 at 10:02:36AM +0100, [EMAIL PROTECTED] 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, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] -- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
