rticommunity / rticommunity/rticonnextdds-examples

[BUG] Incorrect usage of undefined variable in connextddsCodegen.cmake

Open
#514 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug unconfirmed
Dominant language
Python
Stars
148
Forks
153
PR merge metrics
No merged PRs in 30d

Description

In this specific line the headers variable was used but it was not initialized before.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open resources/cmake/ConnextDdsCodegen.cmake and inspect the logic around line 444, where headers is used before initialization. Trace how the surrounding code expects headers to be populated, then verify that the codegen example no longer references the variable before it is initialized.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.