Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redefinition of 'capi_checksum256' error #29

Closed
learnforpractice opened this issue Sep 7, 2022 · 0 comments
Closed

redefinition of 'capi_checksum256' error #29

learnforpractice opened this issue Sep 7, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@learnforpractice
Copy link

The following code:

#include <eosio/system.hpp>
#include <eosio/crypto_ext.hpp>

raise the following error:

include/eosiolib/core/eosio/crypto_ext.hpp:18:47: error: redefinition of 'capi_checksum256'
         struct __attribute__((aligned (16))) capi_checksum256 { uint8_t hash[32]; };
                                              
include/eosiolib/contracts/eosio/system.hpp:17:45: note: previous definition is here
      struct  __attribute__((aligned (16))) capi_checksum256 {
@linh2931 linh2931 self-assigned this Sep 7, 2022
@linh2931 linh2931 added the bug Something isn't working label Sep 7, 2022
@linh2931 linh2931 moved this to Todo in Team Backlog Sep 7, 2022
@linh2931 linh2931 moved this from Todo to In Progress in Team Backlog Sep 7, 2022
@stephenpdeos stephenpdeos added this to the CDT 3.0.0 milestone Sep 7, 2022
@stephenpdeos stephenpdeos moved this from In Progress to Done in Team Backlog Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants