Hello Carlos:
I guess the problem is that you might be compiling with a "semihosting" ewl library.
Please go to Project -> Properties -> C/C++ Build -> Settings -> Librarian, and make sure that you do not have selected any of the "XXX_hosted" options. You can go with ewl_noio.

Hope this solves the problem.
Regards!
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------