diff --git a/modules/gmt/gmt_filter_headfoot.l b/modules/gmt/gmt_filter_headfoot.l index e5b5a0a..dc1c1c5 100644 --- a/modules/gmt/gmt_filter_headfoot.l +++ b/modules/gmt/gmt_filter_headfoot.l @@ -16,6 +16,8 @@ #define register // Get rid of warning on unused function #define YY_NO_INPUT +// struct yyguts_t defined in each flex output file, this emits warning at linking stage +#define yyguts_t gmt_filter_headfootguts_t #define yyterminate {return 0;} %}