Added gcc attributes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2317 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -6,10 +6,10 @@
|
|||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* (C) 1998 Ullrich von Bassewitz */
|
/* (C) 1998-2003 Ullrich von Bassewitz */
|
||||||
/* Wacholderweg 14 */
|
/* R<>merstrasse 52 */
|
||||||
/* D-70597 Stuttgart */
|
/* D-70794 Filderstadt */
|
||||||
/* EMail: uz@musoftware.de */
|
/* EMail: uz@cc65.org */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* This software is provided 'as-is', without any expressed or implied */
|
/* This software is provided 'as-is', without any expressed or implied */
|
||||||
@@ -52,10 +52,10 @@
|
|||||||
void Warning (const char* Format, ...) attribute((format(printf,1,2)));
|
void Warning (const char* Format, ...) attribute((format(printf,1,2)));
|
||||||
/* Print a warning message */
|
/* Print a warning message */
|
||||||
|
|
||||||
void Error (const char* Format, ...) attribute((format(printf,1,2)));
|
void Error (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
|
||||||
/* Print an error message and die */
|
/* Print an error message and die */
|
||||||
|
|
||||||
void Internal (const char* Format, ...) attribute((format(printf,1,2)));
|
void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
|
||||||
/* Print an internal error message and die */
|
/* Print an internal error message and die */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* (C) 1998 Ullrich von Bassewitz */
|
/* (C) 1998-2003 Ullrich von Bassewitz */
|
||||||
/* Wacholderweg 14 */
|
/* R<>merstrasse 52 */
|
||||||
/* D-70597 Stuttgart */
|
/* D-70794 Filderstadt */
|
||||||
/* EMail: uz@musoftware.de */
|
/* EMail: uz@cc65.org */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* This software is provided 'as-is', without any expressed or implied */
|
/* This software is provided 'as-is', without any expressed or implied */
|
||||||
@@ -44,13 +44,13 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
void Warning (const char* Format, ...);
|
void Warning (const char* Format, ...) attribute((format(printf,1,2)));
|
||||||
/* Print a warning message */
|
/* Print a warning message */
|
||||||
|
|
||||||
void Error (const char* Format, ...);
|
void Error (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
|
||||||
/* Print an error message and die */
|
/* Print an error message and die */
|
||||||
|
|
||||||
void Internal (const char* Format, ...);
|
void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
|
||||||
/* Print an internal error message and die */
|
/* Print an internal error message and die */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* (C) 2000 Ullrich von Bassewitz */
|
/* (C) 2000-2003 Ullrich von Bassewitz */
|
||||||
/* Wacholderweg 14 */
|
/* R<EFBFBD>merstrasse 52 */
|
||||||
/* D-70597 Stuttgart */
|
/* D-70794 Filderstadt */
|
||||||
/* EMail: uz@musoftware.de */
|
/* EMail: uz@cc65.org */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* This software is provided 'as-is', without any expressed or implied */
|
/* This software is provided 'as-is', without any expressed or implied */
|
||||||
@@ -52,10 +52,10 @@
|
|||||||
void Warning (const char* Format, ...) attribute((format(printf,1,2)));
|
void Warning (const char* Format, ...) attribute((format(printf,1,2)));
|
||||||
/* Print a warning message */
|
/* Print a warning message */
|
||||||
|
|
||||||
void Error (const char* Format, ...) attribute((format(printf,1,2)));
|
void Error (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
|
||||||
/* Print an error message and die */
|
/* Print an error message and die */
|
||||||
|
|
||||||
void Internal (const char* Format, ...) attribute((format(printf,1,2)));
|
void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
|
||||||
/* Print an internal error message and die */
|
/* Print an internal error message and die */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* (C) 1998-2000 Ullrich von Bassewitz */
|
/* (C) 1998-2003 Ullrich von Bassewitz */
|
||||||
/* Wacholderweg 14 */
|
/* R<EFBFBD>merstrasse 52 */
|
||||||
/* D-70597 Stuttgart */
|
/* D-70794 Filderstadt */
|
||||||
/* EMail: uz@musoftware.de */
|
/* EMail: uz@cc65.org */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* This software is provided 'as-is', without any expressed or implied */
|
/* This software is provided 'as-is', without any expressed or implied */
|
||||||
@@ -52,10 +52,10 @@
|
|||||||
void Warning (const char* Format, ...) attribute((format(printf,1,2)));
|
void Warning (const char* Format, ...) attribute((format(printf,1,2)));
|
||||||
/* Print a warning message */
|
/* Print a warning message */
|
||||||
|
|
||||||
void Error (const char* Format, ...) attribute((format(printf,1,2)));
|
void Error (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
|
||||||
/* Print an error message and die */
|
/* Print an error message and die */
|
||||||
|
|
||||||
void Internal (const char* Format, ...) attribute((format(printf,1,2)));
|
void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
|
||||||
/* Print an internal error message and die */
|
/* Print an internal error message and die */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -52,10 +52,10 @@
|
|||||||
void Warning (const char* Format, ...) attribute((format(printf,1,2)));
|
void Warning (const char* Format, ...) attribute((format(printf,1,2)));
|
||||||
/* Print a warning message */
|
/* Print a warning message */
|
||||||
|
|
||||||
void Error (const char* Format, ...) attribute((format(printf,1,2)));
|
void Error (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
|
||||||
/* Print an error message and die */
|
/* Print an error message and die */
|
||||||
|
|
||||||
void Internal (const char* Format, ...) attribute((format(printf,1,2)));
|
void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)));
|
||||||
/* Print an internal error message and die */
|
/* Print an internal error message and die */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user