ivanseidel / ivanseidel/LinkedList

Type mismatch error

Open
#43 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
364
Forks
117
PR merge metrics
No merged PRs in 30d

Description

Arduino\libraries\LinkedList/LinkedList.h:160:9: error: cannot convert 'bool' to 'ListNode*' in return

return false;

But return type must be ListNode not boolean.

Contributor guide

No contributing guide indexed for this repository

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

Inspect Arduino/libraries/LinkedList/LinkedList.h around line 160 and the surrounding return type. Reproduce the compiler error in an Arduino or microcontroller build, then confirm the error is resolved without introducing a return-type mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.