mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-17 17:29:02 +02:00
Cleanup: Clang warning fixes.
No warnings left on a '-Wall' build except for a single tautological compare in gen/asm-x86-32.h, which indeed seems like a bug.
This commit is contained in:
@@ -515,7 +515,8 @@ void errorSupplemental(Loc loc, const char *format, ...);
|
||||
void verror(Loc loc, const char *format, va_list ap, const char *p1 = NULL, const char *p2 = NULL);
|
||||
void vwarning(Loc loc, const char *format, va_list);
|
||||
void verrorSupplemental(Loc loc, const char *format, va_list);
|
||||
#ifdef __GNUC__
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
__attribute__((noreturn))
|
||||
#endif
|
||||
void fatal();
|
||||
|
||||
Reference in New Issue
Block a user