We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe. escript requires full path of header file like this:
-include("../../a.hrl"). -include("../../b.hrl"). ...
escript file does not support:
-compile([{i, "my include dir"}]).
In the escript.erl, the IncludePath is [], so -include("a.hrl"). cannot be used directly, will report an error can't find include file a.hrl
escript.erl
IncludePath
[]
-include("a.hrl").
can't find include file a.hrl
parse_source(S, File, Fd, StartLine, HeaderSz, CheckOnly) -> {PreDefMacros, Module} = pre_def_macros(File), IncludePath = [],
Describe the solution you'd like Does escript consider supporting the specified header file directory? that will be usefull.
The text was updated successfully, but these errors were encountered:
We intentionally don't support the {i, Path} option in a -compile() attribute (which is documented), and we have no plans to do so in the future.
{i, Path}
-compile()
Sorry, something went wrong.
bjorng
jhogberg
No branches or pull requests
Is your feature request related to a problem? Please describe.
escript requires full path of header file like this:
escript file does not support:
In the
escript.erl
, theIncludePath
is[]
, so-include("a.hrl").
cannot be used directly, will report an errorcan't find include file a.hrl
Describe the solution you'd like
Does escript consider supporting the specified header file directory? that will be usefull.
The text was updated successfully, but these errors were encountered: