www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Building of DMDScript with DMD 0.177 failed

reply Dejan Lekic <dejan.lekic gmail.com> writes:
Here is the log:

[dejan mrak dmdscript]$ make -f linux.mak
dmd -c textgen.d
dmd -oftextgen ./textgen.o
gcc ./textgen.o -o textgen -m32 -lphobos -lpthread -lm
./textgen
dmd -c -I.. -O -release identifier.d
dmd -c -I.. -O -release lexer.d
lexer.d(1287): Error: shadowing declaration dmdscript.lexer.Lexer.number.v
is deprecated
make: *** [lexer.o] Error 1

[dejan mrak marie]$ uname -a
Linux mrak.nu6.org 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006
i686 i686 i386 GNU/Linux

[dejan mrak marie]$ gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)
Dec 20 2006
next sibling parent reply BCS <BCS pathilink.com> writes:
Dejan Lekic wrote:
 Here is the log:
 
 dmd -c -I.. -O -release lexer.d
 lexer.d(1287): Error: shadowing declaration dmdscript.lexer.Lexer.number.v is
deprecated
 make: *** [lexer.o] Error 1

Odd, shadowing has been an error for about a dozen versions of DMD. Are you sure you have the latest version of DMDScript? (I've never used DMDScript so I can't be of more help, sorry)
Dec 20 2006
parent =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= <afb algonet.se> writes:
BCS wrote:

 dmd -c -I.. -O -release lexer.d
 lexer.d(1287): Error: shadowing declaration 
 dmdscript.lexer.Lexer.number.v is deprecated
 make: *** [lexer.o] Error 1

Odd, shadowing has been an error for about a dozen versions of DMD. Are you sure you have the latest version of DMDScript? (I've never used DMDScript so I can't be of more help, sorry)

DMDScript hasn't compiled in a while, but there are patches over in the "DMDScript" newsgroup... Basically just rename "v" into "v_" or something. Maybe it will be fixed in a 1.12 release later on. --anders
Dec 21 2006
prev sibling parent Walter Bright <newshound digitalmars.com> writes:
Sorry about that, I have it fixed, just haven't uploaded it. I probably 
won't until after 1.0 is released.
Dec 23 2006