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
Zephyr C++ support documentation conflicts to the code #32885
Comments
@nashif, @Benichou34 could you please take a look at this? |
@evgeniy-paltsev yes, docs might be outdated, here is a list of what works and what does not: #31281 |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
Bump, I think the very brief description of C++ support found in cxx_support.rst is misleading people (me). First and foremost, there is evidence in other Github Issues that "new" does work. I've tried to compile a simple application to construct a new object from a main.cpp. Main.cpp compiles with g++ but then arm-zephyr-eabi/bin/ld.bfd tells me I have an undefined reference to "new" and the linking fails. Thoughts? |
Never mind I can confirm new is working. For people who end up looking here, you need to change a few things in your menuconfig:
|
not stale |
Related to #43636 |
Latest Zephyr documentation related to C++ support (doc/reference/kernel/other/cxx_support.rst) explicitly mentions that following features are not supported:
However the commit 26e0f9a says that it
which is conflicting to the documentation statements.
Hence the question to C++ experts:
Do we still have some significant flaws in these features implementation so we consider them as not supported or we just have outdated documentation?
The text was updated successfully, but these errors were encountered: