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

question regarding c++ #24195

Closed
CodingGhost opened this issue Apr 8, 2020 · 1 comment
Closed

question regarding c++ #24195

CodingGhost opened this issue Apr 8, 2020 · 1 comment
Assignees

Comments

@CodingGhost
Copy link
Contributor

I hope its ok to ask here, but I have not found any other forum where I could ask, neither did I find enough information about my issue.

does Zephyr fully support c++?
I started developing, but I cannot include vectors or strings..etc

I have added
CONFIG_CPLUSPLUS=y
CONFIG_LIB_CPLUSPLUS=y

to my prj.conf, but it does not work.
how can I get this to work, and where should I be posting questions?

@pabigot
Copy link
Collaborator

pabigot commented Apr 8, 2020

No, Zephyr does not fully support C++. #18554 has some status; though it refers to 2.1 I don't believe anything's changed.

Look to tests/application_development/libcxx/ for the most advanced sample; in particular you need to use newlib in order to access standard library capabilities.

You can ask questions in the slack general channel.

@pabigot pabigot closed this as completed Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants