intel / intel/hyperscan

compile error occured when compile with option -DDEBUG_OUTPUT=TRUE -DOPTIMISE=FALSE

Open
#95 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.5k
Forks
816
Avg merge
4d 21h
Merged PRs (30d)
2

Description

/home/admin/hyperscan-master/src/compiler/compiler.cpp: In function 'void ue2::dumpExpression(const ue2::ParsedExpression&, const char*, const ue2::Grey&)':
/home/admin/hyperscan-master/src/compiler/compiler.cpp:198:44: error: 'dumpTree' was not declared in this scope
dumpTree(debug_tree, pe.component.get());
^
In file included from /home/admin/hyperscan-master/src/compiler/compiler.cpp:51:0:
/home/admin/hyperscan-master/src/parser/position_dump.h: In instantiation of 'std::string ue2::dumpPositions(const Iterator&, const Iterator&) [with Iterator = __gnu_cxx::__normal_iterator >; std::string = std::basic_string]':
/home/admin/hyperscan-master/src/compiler/compiler.cpp:410:5: required from here
/home/admin/hyperscan-master/src/parser/position_dump.h:52:21: error: 'dump' was not declared in this scope
dump(oss, *i);
^
gmake[2]: *** [CMakeFiles/hs_compile.dir/src/compiler/compiler.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/hs_compile.dir/all] Error 2
gmake: *** [all] Error 2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.