i am compling a lib on AIX 5.2 using GNU complier and i get the following error:
"lexer.l", line 82.1: 1506-045 (S) Undeclared identifier cfg.
cfg is defined by #define:
#define YY_DECL int cfg_yylex YY_PROTO(( cfg_t *cfg ))
how does this define work?
it 's error when cf is referenced:
[B]cfg->line++;[/B]
"lexer.l", line 82.1: 1506-045 (S) Undeclared identifier cfg.
cfg is defined by #define:
#define YY_DECL int cfg_yylex YY_PROTO(( cfg_t *cfg ))
how does this define work?
it 's error when cf is referenced:
[B]cfg->line++;[/B]
Comment