[
https://issues.apache.org/jira/browse/MINIFICPP-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Christianson updated MINIFICPP-459:
------------------------------------------
Description:
Sources generated by bison/flex for expression language depend on lex headers.
In certain build environments, such as Android cross-compilation, system
headers are not in the include path, so the build fails due to not finding
FlexLexer.h.
Provide some way for the build to find the system FlexLexer.h corresponding to
the install of flex used to generate EL lexer sources.
was:Sources generated by bison/flex for expression language depend on lex
headers. Inclusion of FlexLexer will allow the generated source to be compiled
in environments where lex is not available.
Summary: Ensure that FlexLexer.h can be included when system includes
are not in path (was: Include flex lexer headers so that generated code can be
used without lex being installed)
>From GitHub: Going to close this PR as invalid. FlexLexer.h appears to be
>incompatible between common versions. Flex/bison are build requirements when
>EL code is generated. This ticket made it possible to build when system
>headers were not in the include path (e.g. Android builds); this remains a
>requirement, but a different solution needs to be applied.
> Ensure that FlexLexer.h can be included when system includes are not in path
> ----------------------------------------------------------------------------
>
> Key: MINIFICPP-459
> URL: https://issues.apache.org/jira/browse/MINIFICPP-459
> Project: NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Andrew Christianson
> Assignee: Andrew Christianson
> Priority: Major
>
> Sources generated by bison/flex for expression language depend on lex
> headers. In certain build environments, such as Android cross-compilation,
> system headers are not in the include path, so the build fails due to not
> finding FlexLexer.h.
> Provide some way for the build to find the system FlexLexer.h corresponding
> to the install of flex used to generate EL lexer sources.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)