[ 3%] Built target doctest[ 7%] Built target lfortran_runtime_static
Scanning dependencies of target lfortran_lib
[ 9%] Building CXX object src/lfortran/CMakeFiles/lfortran_lib.dir/parser/tokenizer.cpp.o
In file included from /home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/tokenizer.h:5:0,
from /home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/tokenizer.cpp:3:
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:15:9: error: ‘AST’ was not declared in this scope
Vec<AST::kind_item_t> kind;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:15:25: error: template argument 1 is invalid
Vec<AST::kind_item_t> kind;
^
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:21:9: error: ‘AST’ does not name a type
AST::fnarg_t arg;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:22:9: error: ‘AST’ does not name a type
AST::keyword_t kw;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:30:5: error: ‘AST’ does not name a type
AST::ast_t* ast;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:31:9: error: ‘AST’ was not declared in this scope
Vec<AST::ast_t*> vec_ast;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:31:20: error: template argument 1 is invalid
Vec<AST::ast_t*> vec_ast;
^
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:33:5: error: ‘AST’ does not name a type
AST::decl_t *decl; // Pointer, to reduce size of YYSTYPE
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:34:9: error: ‘AST’ was not declared in this scope
Vec<AST::decl_t> vec_decl;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:34:20: error: template argument 1 is invalid
Vec<AST::decl_t> vec_decl;
^
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:36:5: error: ‘AST’ does not name a type
AST::dimension_t dim;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:37:9: error: ‘AST’ was not declared in this scope
Vec<AST::dimension_t> vec_dim;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:37:25: error: template argument 1 is invalid
Vec<AST::dimension_t> vec_dim;
^
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:39:5: error: ‘AST’ does not name a type
AST::reduce_opType reduce_op_type;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:41:5: error: ‘AST’ does not name a type
AST::parameter_item_t parameter_item;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:42:9: error: ‘AST’ was not declared in this scope
Vec<AST::parameter_item_t> vec_parameter_item;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:42:30: error: template argument 1 is invalid
Vec<AST::parameter_item_t> vec_parameter_item;
^
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:46:5: error: ‘AST’ does not name a type
AST::kind_item_t *kind_arg;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:47:9: error: ‘AST’ was not declared in this scope
Vec<AST::kind_item_t> vec_kind_arg;
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:47:25: error: template argument 1 is invalid
Vec<AST::kind_item_t> vec_kind_arg;
^
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:58:45: error: ‘AST’ was not declared in this scope
static_assert(sizeof(YYSTYPE) == sizeof(Vec<AST::ast_t*>));
^~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:58:56: error: template argument 1 is invalid
static_assert(sizeof(YYSTYPE) == sizeof(Vec<AST::ast_t*>));
^
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/parser_stype.h:58:1: error: static assertion failed
static_assert(sizeof(YYSTYPE) == sizeof(Vec<AST::ast_t*>));
^~~~~~~~~~~~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/tokenizer.cpp: In member function ‘int LFortran::Tokenizer::lex(LFortran::YYSTYPE&, LFortran::Location&)’:
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/tokenizer.cpp:45:16: warning: unused variable ‘u’ [-Wunused-variable]
unsigned long u;
^
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/tokenizer.cpp:43:29: warning: unused parameter ‘yylval’ [-Wunused-parameter]
int Tokenizer::lex(YYSTYPE &yylval, Location &loc)
^~~~~~
/home/czgdp1807ssd/lfortran_project/lfortran/src/lfortran/parser/tokenizer.cpp:43:47: warning: unused parameter ‘loc’ [-Wunused-parameter]
int Tokenizer::lex(YYSTYPE &yylval, Location &loc)
^~~
src/lfortran/CMakeFiles/lfortran_lib.dir/build.make:81: recipe for target 'src/lfortran/CMakeFiles/lfortran_lib.dir/parser/tokenizer.cpp.o' failed
make[2]: *** [src/lfortran/CMakeFiles/lfortran_lib.dir/parser/tokenizer.cpp.o] Error 1
CMakeFiles/Makefile2:346: recipe for target 'src/lfortran/CMakeFiles/lfortran_lib.dir/all' failed
make[1]: *** [src/lfortran/CMakeFiles/lfortran_lib.dir/all] Error 2
Makefile:181: recipe for target 'all' failed
make: *** [all] Error 2
Last active
February 14, 2021 14:46
-
-
Save czgdp1807/601abe7986a52c78067c5abf20e2dfec to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment