You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/08/03 21:28: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=16568808#comment-16568808 ] 

ASF GitHub Bot commented on MINIFICPP-574:
------------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/nifi-minifi-cpp/pull/380


> 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)