arduino / arduino/ArduinoCore-samd
Udp.h included in ArduinoCore-samd and in ArduinoCore-API
- Dominant language
- C
- Stars
- 502
- Forks
- 740
- PR merge metrics
- No merged PRs in 30d
Description
Reference from ArduinoCore-API repo: https://github.com/arduino/ArduinoCore-API/issues/171
Udp.h is included in Core-samd and core-api, while one of them uses #pragma once and the other include guards. This causes problems when including both of them.
`error: redefinition of 'class arduino::UDP' `
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading ArduinoCore-API issue 171 and comparing Udp.h in ArduinoCore-samd with the ArduinoCore-API version. Reproduce the reported error by including both headers, then verify that the combined include no longer produces the arduino::UDP redefinition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100