[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot compile DDD 3.2.1 (PannedGE.C:88: non-lvalue in unary `&')
From: |
Bernhard Mogens Ege |
Subject: |
Re: Cannot compile DDD 3.2.1 (PannedGE.C:88: non-lvalue in unary `&') |
Date: |
Thu, 30 Nov 2000 11:13:51 +0100 (MET) |
>>>>> "Andreas" == Andreas Zeller <address@hidden> writes:
> GCC 2.96 is. This is fixed in the current GCC snapshot, but not
> yet part of an official release.
> In the meantime, try the following patch. As soon as anyone confirms
> this is working, I'll place it on the DDD Web page.
[patch snipped]
I applied the patch to the 2.1.91 release and PannedGE.C compiled
with no problems.
The only compilation problems (warnings) I see is this:
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG
-O2 -g -W -Wall -trigraphs -c VSLRead.C
In file included from VSLRead.C:114:
/usr/lib/bison.simple: In function `int VSLLib_parse ()':
/usr/lib/bison.simple:324: warning: unused variable `YYSTYPE *vslvs1'
/usr/lib/bison.simple:614: warning: comparison between signed and
unsigned integer expressions
/usr/lib/bison.simple:626: warning: comparison between signed and
unsigned integer expressions
And this:
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG
-O2 -g -W -Wall -trigraphs -c hostname.C
hostname.C: In function `char *_fullhostname (char *)':
hostname.C:176: warning: comparison between signed and unsigned integer
expressions
And this:
c++ -DNDEBUG -O2 -g -W -Wall -trigraphs -o ddd ddd.o [snippped a bunch
of .o files] WhatNextCB.o -L/usr/X11R6/lib -lXm -lXp -lXpm -lXaw -lXmu -lXext
-lXt -lSM -lICE -lX11 -lncurses -liberty -lm
ddd.o: In function `GetFileDatabase(char *)':
/pack/ddd-3.2.91/src/ddd-3.2.91/ddd/strclass.h:908: the use of `tmpnam' is
dangerous, better use `mkstemp'
For a non released version, I guess thats ok. I just wanted to let you
know.
Now I will try ddd a bit to see if it crashes or something similar.
Thanks!
regards,
Bernhard Ege