www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - dmdfe for dmd.121

reply "Ben Hinkle" <ben.hinkle gmail.com> writes:
I've updated the dmdfe (DMD Front End) project from 119 to 121. Thanks to 
Walter for incorporating some source code changes that made the update very 
simple. I only had to comment out a couple asserts and add new stubs for the 
new features since 121. I'll be getting back to dlint soon.

The dmdfe site is http://home.comcast.net/~benhinkle/dmdfe/

-Ben 
Apr 22 2005
next sibling parent "Ben Hinkle" <ben.hinkle gmail.com> writes:
Updated dlint and d-mode.el, too.

Now the D-mode in emacs will automatically run dlint on save/load and 
highlight lines with warnings.

In dlint I've made it possible to suppress a warning by putting (dlint) on 
the line. For example
  int x = atoi(str); // (dlint)
will suppress the warning about the narrowing conversion.

Still on the todo list are
 - improve the import file handling and/or import search path
 - add warnings not in dmd.zip like == null and shadowing opEquals etc

"Ben Hinkle" <ben.hinkle gmail.com> wrote in message 
news:d4c1cu$d17$1 digitaldaemon.com...
 I've updated the dmdfe (DMD Front End) project from 119 to 121. Thanks to 
 Walter for incorporating some source code changes that made the update 
 very simple. I only had to comment out a couple asserts and add new stubs 
 for the new features since 121. I'll be getting back to dlint soon.

 The dmdfe site is http://home.comcast.net/~benhinkle/dmdfe/

 -Ben
 
Apr 24 2005
prev sibling parent "G.Vidal" <gyvidal wanadoo.fr> writes:
Le Fri, 22 Apr 2005 19:29:34 -0400, Ben Hinkle a écrit :

 I've updated the dmdfe (DMD Front End) project from 119 to 121. Thanks to 
 Walter for incorporating some source code changes that made the update very 
 simple. I only had to comment out a couple asserts and add new stubs for the 
 new features since 121. I'll be getting back to dlint soon.
 
 The dmdfe site is http://home.comcast.net/~benhinkle/dmdfe/
 
 -Ben
jeff Anna:~/dmd/dmdfe/stubs$ cd .. jeff Anna:~/dmd/dmdfe$ make -f linux.mak cd dmd; g++ idgen.c -o idgen cd dmd; ./idgen cd dmd; g++ impcnvgen.c -o impcnvgen cd dmd; ./impcnvgen g++ -c -g -Istubs -Idmd -odmd/access.o dmd/access.c g++ -c -g -Istubs -Idmd -odmd/array.o dmd/array.c g++ -c -g -Istubs -Idmd -odmd/attrib.o dmd/attrib.c In file included from dmd/attrib.c:21: dmd/declaration.h:31: error: use of enum `TOK' without previous declaration dmd/declaration.h:31: error: déclaration ne déclarant rien du tout dmd/declaration.h:32: error: use of enum `MATCH' without previous declaration dmd/declaration.h:32: error: déclaration ne déclarant rien du tout dmd/declaration.h:57: error: 'MATCH' is used as a type, but is not defined as a type. dmd/declaration.h:392: error: use of enum `TOK' without previous declaration dmd/declaration.h:392: error: le C++ ISO interdit la déclaration de « tok » sans type dmd/declaration.h:394: error: use of enum `TOK' without previous declaration dmd/declaration.h:395: error: le C++ ISO interdit la déclaration de « tok » sans type make: *** [dmd/attrib.o] Erreur 1 jeff Anna:~/dmd/dmdfe$ Translation of the last error: "ISO C++ forbid declaration of "tok" without type."
May 19 2005