Conversation
|
This renaming game is kind of open ended if we assume that each library is compatible with all other libraries at all time. |
|
Can you specify a prefix for preprocessor items? |
|
I am not sure :)
…On Wed, 12 Jan 2022, 09:49 John, ***@***.***> wrote:
Can you specify a prefix for preprocessor items?
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABN5BQ6DSFKQ655HELPH33UVSXY7ANCNFSM5LWT5ENA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
CR and LF definition were inverted
Removed "register" as it is obsolete after C++11
Sync from upstream
Bring up to date with upstream
Fix CR LF definition
Merge Beirdo's change pending upstream
|
Same for CR LF etc. They are far too generic. |
|
I quite agree that polluting the main namespace is annoying, but
(Even then, |
I'm using Arduino Log in a project with other libraries that already have defines set up for
LOG_LEVEL_ERRORamongst other things. This causes a number of warnings at compile time (and some strange behavior in the logs).This PR renames the #defines to prepend
ARDUINO_LOG_thereby effectively namespacing them.