You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andrew Christianson (JIRA)" <ji...@apache.org> on 2018/07/24 14:17:00 UTC
[jira] [Commented] (MINIFICPP-574) FileUtils.h:83:35: error: ‘strcmp’ was not declared in this scope
[ https://issues.apache.org/jira/browse/MINIFICPP-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16554288#comment-16554288 ]
Andrew Christianson commented on MINIFICPP-574:
-----------------------------------------------
Not sure if related, but got this with the following cmake config:
{code:java}
cmake3 .. -DUSE_SYSTEM_CURL=0{code}
> FileUtils.h:83:35: error: ‘strcmp’ was not declared in this scope
> -----------------------------------------------------------------
>
> Key: MINIFICPP-574
> URL: https://issues.apache.org/jira/browse/MINIFICPP-574
> Project: NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Andrew Christianson
> Assignee: Andrew Christianson
> Priority: Major
>
> Getting compile error:
>
> {code:java}
> In file included from /home/achristianson/workspace/nifi-minifi-cpp/extensions/rocksdb-repos/FlowFileRepository.h:21:0,
> from /home/achristianson/workspace/nifi-minifi-cpp/extensions/rocksdb-repos/FlowFileRepository.cpp:18:
> /home/achristianson/workspace/nifi-minifi-cpp/extensions/rocksdb-repos/../../libminifi/include/utils/file/FileUtils.h: In static member function ‘static int64_t org::apache::nifi::minifi::utils::file::FileUtils::delete_dir(const string&, bool)’:
> /home/achristianson/workspace/nifi-minifi-cpp/extensions/rocksdb-repos/../../libminifi/include/utils/file/FileUtils.h:83:35: error: ‘strcmp’ was not declared in this scope
> if (!strcmp(p->d_name, ".") || !strcmp(p->d_name, "..")) {
> ^
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)