ExprTk is a lexer, parser and evaluator for equations. I’ve included it in my project and get two compiler errors.
First one is regarding the macro verify
(used in UE4 and exprtk), which I could fix by renaming this macro in exprtk.
The second one is the problem: C4541 in ue_4.15\engine\source\runtime\coreuobject\public\Templates\Casts.h
, line 405:
- ‘dynamic_cast’ used on polymorphic
type ‘exprtk::lexer::token_scanner’
with /GR-; unpredictable behavior may
result - ‘dynamic_cast’ used on polymorphic
type ‘exprtk::details::expression_node’
with /GR-; unpredictable behavior may
result
Is it a problem activating /GR for Unreal Engine?
If no, how can I activate it within an Unreal project?
Or even better, can I avoid that Casts.h is used with exprtk?