diff --git a/dmd2/idgen b/dmd2/idgen deleted file mode 100755 index ff2f8880..00000000 Binary files a/dmd2/idgen and /dev/null differ diff --git a/dmd2/impcnvgen b/dmd2/impcnvgen deleted file mode 100755 index eb6e70b4..00000000 Binary files a/dmd2/impcnvgen and /dev/null differ diff --git a/dmd2/lexer.c b/dmd2/lexer.c index 60739c5f..77b7d7b3 100644 --- a/dmd2/lexer.c +++ b/dmd2/lexer.c @@ -617,7 +617,7 @@ void Lexer::scan(Token *t) t->postfix = 0; t->value = TOKstring; if (!global.params.useDeprecated) - error("Escape String literal %.*s is deprecated, use double quoted string literal \"%.*s\" instead", p - pstart, pstart, p - pstart, pstart); + error("Escape String literal %.*s is deprecated, use double quoted string literal \"%.*s\" instead", (int)(p - pstart), pstart, (int)(p - pstart), pstart); return; } #endif diff --git a/dmd2/root/root.c b/dmd2/root/root.c index fe19e94f..56b509ef 100644 --- a/dmd2/root/root.c +++ b/dmd2/root/root.c @@ -7,7 +7,9 @@ // in artistic.txt, or the GNU General Public License in gnu.txt. // See the included readme.txt for details. +#ifndef POSIX #define POSIX (linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4) +#endif #include #include diff --git a/dmd2/traits.c b/dmd2/traits.c index 40106c8d..7b27be18 100644 --- a/dmd2/traits.c +++ b/dmd2/traits.c @@ -408,7 +408,7 @@ Lnottype: goto Lfalse; Ldimerror: - error("wrong number of arguments %d", dim); + error("wrong number of arguments %d", (int)dim); goto Lfalse;