building DMD fails as always

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Mon May 14 08:03:50 PDT 2012


For a number of times I've tried building DMD from my github clone and
failed at the same place over and over again.
I say "make -fwin32.mak" and get this:

dmc idgen.c -o idgen
idgen.c:
Msgtable msgtable[] =
                ^
idgen.c(29) : Error: missing ',' between declaration of 'Msgtable' and
'msgtable'
        for (i = 0; i < sizeof(msgtable) / sizeof(msgtable[0]); i++)
                                       ^
idgen.c(361) : Error: undefined identifier 'msgtable', did you mean
'Msgtable'?
        {   const char *id = msgtable[i].ident;
                                        ^
idgen.c(362) : Error: array or pointer required before '['
Had: int
        for (i = 0; i < sizeof(msgtable) / sizeof(msgtable[0]); i++)
                                                             ^
idgen.c(386) : Error: array or pointer required before '['
Had: int
        {   const char *id = msgtable[i].ident;
                                        ^
idgen.c(387) : Error: array or pointer required before '['

What's up with this?

-- 
Bye,
Gor Gyolchanyan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120514/05e56b78/attachment.html>


More information about the Digitalmars-d mailing list