arduino / arduino/ArduinoCore-samd
min() and max() definitions cause incompatibilities with standard min() and max()
- Dominant language
- C
- Stars
- 502
- Forks
- 740
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
The definition of min() and max() on Arduino.h causes conflicts and force other libraries to use undefine these macros if they want to use the standard ones.
I wonder if this is ok or maybe it should be modified
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the min() and max() definitions in Arduino.h and checking how they conflict with standard definitions used by other libraries. Determine the compatible behavior expected for both Arduino code and libraries using standard min() and max(); done means the incompatibility is resolved and the affected usage can be verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100