Can't use gcc function attribute `format' when s_char is not plain

char; gcc chokes on it.
This commit is contained in:
Markus Armbruster 2004-03-22 08:51:10 +00:00
parent 8454e6f54e
commit d6a2519342

View file

@ -103,6 +103,9 @@ typedef char s_char; /* change to signed char for aix */
#endif /* ultrix */
#else
typedef signed char s_char;
/* gcc __attribute__((format ...)) chokes on s_char * format strings */
#undef ATTRIBUTE
#define ATTRIBUTE(attr)
#endif /* !aix && !sgi */
typedef short coord;
/*