mirror of
https://github.com/cc65/cc65.git
synced 2024-12-28 06:30:16 +00:00
Remove REFCC_UNSIGNED_CHARS from test/ref/
Explicitly use signed char or unsigned char for REFCC.
This commit is contained in:
parent
86ba877a99
commit
8fe317e7fa
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user