I am trying to compile some code which compiled successfully with the old compiler eosiocpp, but with the new eosio-cpp gives me: eosio.cdt/1.4.0/bin/../include/libcxx/iostream:13:2: error: "iostreams currently clash with eosio::datastream"

1 Answer 1


I just needed to remove #include<iostream>. Unfortunately, using .cdt 1.4, there are some issues with print and it is not possible to print a string variable right now. See more details at the issue https://github.com/EOSIO/eos/issues/2984

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.