You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After ./configure && make, the following error i got.
In file included from scanner.l:46:0:
scanctx.h:66:14: note: expected 'const char *' but argument is of type 'const char **'
extern FILE *scanctx_push_include(struct scan_context *ctx, void *prev_buffer,
^
scanner.l:137:53: error: too few arguments to function 'scanctx_push_include'
char c[2] = { (char)(strtol(yytext + 2, NULL, 16) & 0xFF),
^
In file included from scanner.l:46:0:
then , i change include statement of scanner.l, the problem is solved.
After ./configure && make, the following error i got.
In file included from scanner.l:46:0:
scanctx.h:66:14: note: expected 'const char *' but argument is of type 'const char **'
extern FILE *scanctx_push_include(struct scan_context *ctx, void *prev_buffer,
^
scanner.l:137:53: error: too few arguments to function 'scanctx_push_include'
char c[2] = { (char)(strtol(yytext + 2, NULL, 16) & 0xFF),
^
In file included from scanner.l:46:0:
then , i change include statement of scanner.l, the problem is solved.
FROM
#include <stdlib.h>
#include <errno.h>
#include <ctype.h>
#include <string.h>
#include <limits.h>
#include <dirent.h>
#include "parsectx.h"
#include "scanctx.h"
#include "grammar.h"
#include "wincompat.h"
TO
#include "scanctx.h"
#include <stdlib.h>
#include <errno.h>
#include <ctype.h>
#include <string.h>
#include <limits.h>
#include <dirent.h>
#include "parsectx.h"
#include "grammar.h"
#include "wincompat.h"
The text was updated successfully, but these errors were encountered: