Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@saschanaz
Copy link
Contributor

@saschanaz saschanaz commented Apr 11, 2017

The current code is failing to be compiled on Clang because of this error:

In file included from submodules/flif/src/library/flif-interface.cpp:1:
submodules/flif/src/library/flif-interface_dec.cpp:250:27: error: no member named 'function' in namespace 'std'
        auto func = (std::function<void ()> *) info->populateContext;
                     ~~~~~^
submodules/flif/src/library/flif-interface_dec.cpp:250:46: error: expected expression
        auto func = (std::function<void ()> *) info->populateContext;
                                             ^
2 errors generated.

Including <functional> fixes this issue.

@jonsneyers jonsneyers merged commit 6d0ce08 into FLIF-hub:master Apr 12, 2017
@saschanaz saschanaz deleted the patch-1 branch April 12, 2017 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants