* Fix some gcc warnings in the D2 frontend code.

* Remove binaries from `dmd2/`
This commit is contained in:
Frits van Bommel
2009-06-02 19:18:48 +02:00
parent 826b3a42c3
commit 59f5636391
5 changed files with 4 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -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

View File

@@ -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 <stdio.h>
#include <stdlib.h>

View File

@@ -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;