mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
* Fix some gcc warnings in the D2 frontend code.
* Remove binaries from `dmd2/`
This commit is contained in:
BIN
dmd2/idgen
BIN
dmd2/idgen
Binary file not shown.
BIN
dmd2/impcnvgen
BIN
dmd2/impcnvgen
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user