ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

VSLRead.C compilation error (on gcc 3.4.2 and 4.1.0)


From: R. Bernstein
Subject: VSLRead.C compilation error (on gcc 3.4.2 and 4.1.0)
Date: Fri, 24 Feb 2006 05:04:43 -0500

[Sorry if this is a duplicate. I sent it 15 hourse ago and don't see
it posted or in the archives.]

When I try to build ddd 3.3.12-test3 people have noted been getting
the following error:

  gmake[1]: Entering directory `/usr/local/src/ddd-3.3.12-test3/ddd' 
  gmake all-am 
  gmake[2]: Entering directory `/usr/local/src/ddd-3.3.12-test3/ddd' 
  if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/openwin/include -O2 
-g -Wall -W -Wwrite-strings -trigraphs -MT VSLRead.o -MD -MP -MF 
".deps/VSLRead.Tpo" -c -o VSLRead.o VSLRead.C; \ 
  then mv -f ".deps/VSLRead.Tpo" ".deps/VSLRead.Po"; else rm -f 
".deps/VSLRead.Tpo"; exit 1; fi 
  In file included from VSLRead.C:113: 
  y.tab.c:343: error: parse error before `delete' 
  lex.vsl.c:1565: warning: `void vslunput(int, char*)' defined but not used 
  gmake[2]: *** [VSLRead.o] Error 1 

People have noted this using gcc 3.4.2 and 4.1.0.  To get around the
compilation problem, I simply commented out line 348 of vsl-gramma.C:
 
//int delete [] void *; /* INFRINGES ON USER NAME SPACE */ 
 
And in the pydb branch I've committed this change.

I don't understand this part of DDD well enough or g++'s error
messages to know why this is there and why it now fails. Anyone care
to comment?

(In the past we've seen that changes to libstdc++ and/or C++ caused ddd
failures.)
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]