[ https://issues.apache.org/jira/browse/MINIFICPP-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marton Szasz updated MINIFICPP-1398: ------------------------------------ Fix Version/s: 0.9.0 > EL date functions are not available on Windows > ---------------------------------------------- > > Key: MINIFICPP-1398 > URL: https://issues.apache.org/jira/browse/MINIFICPP-1398 > Project: Apache NiFi MiNiFi C++ > Issue Type: Bug > Reporter: Marton Szasz > Assignee: Marton Szasz > Priority: Major > Fix For: 0.9.0 > > Time Spent: 1.5h > Remaining Estimate: 0h > > in Expression.h: > {{#define EXPRESSION_LANGUAGE_USE_DATE}} > {{// Disable date in EL for incompatible compilers}} > {{#if \_\_GNUC\_\_ < 5}} > {{#undef EXPRESSION_LANGUAGE_USE_DATE}} > {{#endif}} > I assume \_\_GNUC\_\_ is evaluated as 0 on Windows and that's the cause. > update: due to problems with the date and timezone libraries on Windows, I'm > going to add a fallback based on strftime for now. -- This message was sent by Atlassian Jira (v8.3.4#803005)