History

Update for clang

Clang also removed K&R support so define IMPLICIT_INT. Fix clang warning in lib/bt-log.c

herman ten brugge committed 2 years ago

Commit 7d1bbc81 parent 0059d892 files · +2 −2Browse files

Showing the changes to lib (1 of 2 files). Show all

Unified · Split

lib/bt-log.c+1−1
@@ -39,7 +39,7 @@ DLL_EXPORT int tcc_backtrace(const char *fmt, ...) · 38 unmodified lines
3939 va_start(ap, fmt);
4040 ret = vfprintf(stderr, fmt, ap);
4141 va_end(ap);
42− fprintf(stderr, nl), fflush(stderr);
42+ fprintf(stderr, "%s", nl), fflush(stderr);
4343 }
4444 return ret;
4545 }

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