mirror of
https://github.com/mirror/tinycc.git
synced 2026-08-30 11:57:51 +08:00
Update for clang
Clang also removed K&R support so define IMPLICIT_INT. Fix clang warning in lib/bt-log.c
This commit is contained in:
@@ -341,7 +341,7 @@ static struct recursive_macro { int rm_field; } G;
|
||||
WRAP((printf("rm_field = %d %d\n", rm_field, WRAP(rm_field))));
|
||||
}
|
||||
|
||||
#if !defined(__TINYC__) && (__GNUC__ >= 14)
|
||||
#if !defined(__TINYC__) && (__GNUC__ >= 14 || __clang_major__ >= 15)
|
||||
#define IMPLICIT_INT int
|
||||
#else
|
||||
#define IMPLICIT_INT
|
||||
|
||||
Reference in New Issue
Block a user