Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Conversation

@smlu
Copy link
Contributor

@smlu smlu commented Jan 26, 2021

When including testing framework, some eosio C++ headers conflict with C headers and you get compiler error: conflicting types for .... The issue is wrong declaration of some CAPI functions in C++ headers. Namely, declaration of send_deferred and cancel_deferred CAPI functions. This PR fixes those incorrect declaration.

PR fix partially #811.

Note: The issue still persists for functions preactivate_feature and is_feature_activated due to struct capi_checksum256 declared in eosio/system.hpp#L17, although scoped in extern "C", still defines different type than struct defined in capi/types.h#L51

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant