--- gforth/vmgen-ex2/engine.c 2003/03/09 15:17:11 1.6 +++ gforth/vmgen-ex2/engine.c 2003/08/25 14:17:56 1.8 @@ -1,6 +1,6 @@ /* vm interpreter wrapper - Copyright (C) 2001,2002 Free Software Foundation, Inc. + Copyright (C) 2001,2002,2003 Free Software Foundation, Inc. This file is part of Gforth. @@ -163,6 +163,12 @@ enum { }; #endif +#if defined(__GNUC__) && ((__GNUC__==2 && defined(__GNUC_MINOR__) && __GNUC_MINOR__>=7)||(__GNUC__>2)) +#define MAYBE_UNUSED __attribute__((unused)) +#else +#define MAYBE_UNUSED +#endif + /* the return type can be anything you want it to */ long engine(Cell *ip0, Cell *sp, char *fp) {