History

enums and ints are compatible

But like GCC do warn about changes in signedness. The latter leads to some changes in gen_assign_cast to not also warn about unsigned* = int* (where GCC warns, but only with extra warnings).

Michael Matz committed 10 years ago

Commit 34fc6431 parent b1a906b4 files · +35 −14Browse files

Showing the changes to tccasm.c (1 of 4 files). Show all

Unified · Split

tccasm.c+1−1
@@ -612,7 +612,7 @@ static void asm_parse_directive(TCCState *s1) · 611 unmodified lines
612612 case TOK_ASMDIR_global:
613613 case TOK_ASMDIR_weak:
614614 case TOK_ASMDIR_hidden:
615− tok1 = tok;
615+ tok1 = tok;
616616 do {
617617 Sym *sym;
618618

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t