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

Add support of "c++20-pmr" c++ language flavor #346

Closed
wants to merge 7 commits into from

Conversation

serges147
Copy link

Needed for libcyphal project where I'm planning to use it like this:

    if (CMAKE_CXX_STANDARD STREQUAL "14")
        list(APPEND LOCAL_NNVG_CMD_ARGS "--language-standard=cetl++14-17")
    else ()
        list(APPEND LOCAL_NNVG_CMD_ARGS "--language-standard=c++${CMAKE_CXX_STANDARD}-pmr")
    endif ()

github-merge-queue bot pushed a commit to OpenCyphal-Garage/libcyphal that referenced this pull request Oct 7, 2024
…oducer` & `GetInfoProvider` sub-components. (#386)

- Implemented application layer `Node` class.
- Temporary switch to the specific Nunavut commit, where I've made
necessary fixes (see OpenCyphal/nunavut#346)
  - switch to "pmr" flavor of Nunavut c++ code generation
- modify libcyphal to pass now required pmr allocator to ctor-s of
Nunavut generated messages/requests/responses
- Added new application layer example:
"example_2_application_0_node_hb_getinfo_udp" - demonstrates how to make
a simple libcyphal node using application layer `Node` class.
- Addressed some todos
- A bit more docs
Copy link

sonarcloud bot commented Oct 14, 2024

@serges147 serges147 closed this Oct 14, 2024
@serges147 serges147 deleted the sshirokov/3.0.preview_cpp20_pmr branch October 14, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant