Pollution of global namespace due to using namespace EspSoftwareSerial;
Open
- Dominant language
- C++
- Stars
- 16.7k
- Forks
- 13.1k
- PR merge metrics
- No merged PRs in 30d
Description
In version 3.1.1 of SoftwareSerial.h we have:
enum SoftwareSerialConfig {
SWSERIAL_5N1 = SWSERIAL_PARITY_NONE,
etc...
this was changed in version 3.1.2 with:
enum Config {
SWSERIAL_5N1 = SWSERIAL_PARITY_NONE,
etc...
which lead to a conflicting name problem when Config is used in an application program but with another definition despite the namespace statement added in SoftwareSerial.h version 3.1.2
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.