comparison dmd/mars.h @ 1586:7f728c52e63c

Fix several 'reaches end of function' warnings by making fatal noreturn. The warnings also pointed out a few genuine bugs. Replace some tabs with spaces.
author Christian Kamm <kamm incasoftware de>
date Fri, 06 Nov 2009 21:51:41 +0100
parents d9c5f5a43403
children def7a1d494fd
comparison
equal deleted inserted replaced
1585:29b0f2d11c92 1586:7f728c52e63c
410 410
411 void warning(Loc loc, const char *format, ...) IS_PRINTF(2); 411 void warning(Loc loc, const char *format, ...) IS_PRINTF(2);
412 void vwarning(Loc loc, const char *format, va_list); 412 void vwarning(Loc loc, const char *format, va_list);
413 void error(Loc loc, const char *format, ...) IS_PRINTF(2); 413 void error(Loc loc, const char *format, ...) IS_PRINTF(2);
414 void verror(Loc loc, const char *format, va_list); 414 void verror(Loc loc, const char *format, va_list);
415
416 #ifdef __GNUC__
417 __attribute__((noreturn))
418 #endif
415 void fatal(); 419 void fatal();
420
416 void err_nomem(); 421 void err_nomem();
417 void inifile(char *argv0, const char *inifile); 422 void inifile(char *argv0, const char *inifile);
418 void halt(); 423 void halt();
419 424
420 /*** Where to send error messages ***/ 425 /*** Where to send error messages ***/