February 13, 2004 Re: update | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | Yes, please post the diff's or just email them to me. Thanks, -Walter "Ben Hinkle" <bhinkle4@juno.com> wrote in message news:c072fm$i09$1@digitaldaemon.com... > another update off the gcc front-end: http://home.comcast.net/~benhinkle/gdmd-0.2.tar.gz > > improvements: structs, enums, expression initializers, address-operator, ptr-operator, comma-operator, updated to gcc-3.4-20040206 and DMD-0.79 > > Walter, here is the README.dmd that describes some changes I had to make for > either the mac and linux: > > * add #include "total.h" to top of a few .h files to avoid #include > errors (eg, Loc not defined, enum TOK used before definition etc) > Make sure this is outside of the include guards so that all files > are included in the right order. Another way to fix this problem > would be to include total.h in all the .c files but that was more > tedious. Header files modified were root.h, mars.h, declaration.h, > dsymbol.h > > * edit html.c to replace the variable "not" with "not_". Also even with > the -funsigned-char flag to g++ memicmp calls still need explicit casts > from unsigned char* to char*. > > * to compile on Mac OS X change defines in constfold.c to avoid fmodl > and redefine interger_t because that is defined in vm_types.h > > * change mtype.c header includes for Mac OS X > > If you want I can try to cut/paste code diffs. > > -Ben > > |
February 15, 2004 Re: update | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Attachments: | attached. I trimmed out the constfold change. There also should be a better way to do the includes. "Walter" <walter@digitalmars.com> wrote in message news:c0hfad$1il$1@digitaldaemon.com... | Yes, please post the diff's or just email them to me. Thanks, -Walter | | "Ben Hinkle" <bhinkle4@juno.com> wrote in message | news:c072fm$i09$1@digitaldaemon.com... | > another update off the gcc front-end: | > http://home.comcast.net/~benhinkle/gdmd-0.2.tar.gz | > | > improvements: structs, enums, expression initializers, address-operator, | > ptr-operator, comma-operator, updated to gcc-3.4-20040206 and DMD-0.79 | > | > Walter, here is the README.dmd that describes some changes I had to make | for | > either the mac and linux: | > | > * add #include "total.h" to top of a few .h files to avoid #include | > errors (eg, Loc not defined, enum TOK used before definition etc) | > Make sure this is outside of the include guards so that all files | > are included in the right order. Another way to fix this problem | > would be to include total.h in all the .c files but that was more | > tedious. Header files modified were root.h, mars.h, declaration.h, | > dsymbol.h | > | > * edit html.c to replace the variable "not" with "not_". Also even with | > the -funsigned-char flag to g++ memicmp calls still need explicit casts | > from unsigned char* to char*. | > | > * to compile on Mac OS X change defines in constfold.c to avoid fmodl | > and redefine interger_t because that is defined in vm_types.h | > | > * change mtype.c header includes for Mac OS X | > | > If you want I can try to cut/paste code diffs. | > | > -Ben | > | > | | |
Copyright © 1999-2021 by the D Language Foundation