c++builder - inttypes.h file not found compiling Duktape with C++ Builder and Clang -
i have created simple duktape example using c++ builder seattle , follow code in "initialize context" duktape. compiles fine when using classic mode. if switch clang via unchecking project->options->c++ compiler->use 'classic' borland compiler, following error.
inttypes.h file not found on line 780 of duktape.h
if comment out include following errors:
unresolved external _va_copy unresolved external _fmin unresolved external _fmax
the normal way ensure clang has -std=c99
no legacy type detection necessary. legacy type detection isn't reliable.
however, if can't use c99/c++11 reason, can edit duk_config.h
header directly (duk_config.h
present since duktape 1.3.0), contains detection logic.
Comments
Post a Comment