1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Use gcc attribs

git-svn-id: svn://svn.cc65.org/cc65/trunk@212 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2000-07-27 20:42:23 +00:00
parent d7ddc3d12e
commit 8f1533c8cc
2 changed files with 9 additions and 4 deletions

View File

@ -38,6 +38,11 @@
/* common */
#include "attrib.h"
/*****************************************************************************/
/* Data */
/*****************************************************************************/
@ -57,13 +62,13 @@ extern const char _MsgFail [];
void Warning (const char* Format, ...);
void Warning (const char* Format, ...) attribute((format(printf,1,2)));
/* Print a warning message */
void Error (const char* Format, ...);
void Error (const char* Format, ...) attribute((format(printf,1,2)));
/* Print an error message and die */
void Internal (const char* Format, ...);
void Internal (const char* Format, ...) attribute((format(printf,1,2)));
/* Print an internal error message and die */
#define CHECK(c) \

View File

@ -2,7 +2,7 @@
# gcc Makefile for ar65
#
CFLAGS = -g -O2 -Wall
CFLAGS = -g -O2 -Wall -I../common
CC = gcc
LDFLAGS =