1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 02:29:32 +00:00

Remove REFCC_UNSIGNED_CHARS from test/ref/

Explicitly use signed char or unsigned char for REFCC.
This commit is contained in:
Jesse Rosenstock 2020-06-23 21:57:03 +02:00 committed by Oliver Schmidt
parent 86ba877a99
commit 8fe317e7fa
2 changed files with 1 additions and 9 deletions

View File

@ -54,7 +54,7 @@ $(WORKDIR):
$(WORKDIR)/%.ref: %.c | $(WORKDIR)
$(if $(QUIET),echo ref/$*.host)
$(CC) $(CFLAGS) -DREFCC -DREFCC_UNSIGNED_CHARS -o $(WORKDIR)/$*.host $< $(NULLERR)
$(CC) $(CFLAGS) -DREFCC -o $(WORKDIR)/$*.host $< $(NULLERR)
$(WORKDIR)$S$*.host > $@
$(DIFF): ../bdiff.c | $(WORKDIR)

View File

@ -40,11 +40,7 @@ void testdefault1(unsigned char i) {
/* we want a signed char */
#ifdef REFCC
#ifdef REFCC_UNSIGNED_CHARS
signed char k;
#else
char k;
#endif
#else
@ -145,11 +141,7 @@ void testdefault2(unsigned char i) {
/* we want a unsigned char */
#ifdef REFCC
#ifdef REFCC_UNSIGNED_CHARS
char k;
#else
unsigned char k;
#endif
#else