Parenthesised string literals are invalid in initialisers for character arrays.

Use braces instead.
This commit is contained in:
Stefan Farfeleder 2004-07-06 17:48:34 +00:00
parent fd2d354908
commit 4b259030ca

View File

@ -86,7 +86,7 @@ void dbg_dump_sptbl(struct fs *, const char *, struct cg *);
#define DL_INFO 0x02
extern int _dbg_lvl_;
#define DBG_FUNC(N) char __FKT__[] = (N);
#define DBG_FUNC(N) char __FKT__[] = {N};
#define DBG_ENTER if(_dbg_lvl_ & DL_TRC) { \
fprintf(stderr, "~>%s: %s\n", __FILE__, __FKT__ ); \
}