You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// webcolors.h (third party header)
#defineRED0xFF0000
#defineGREEN0x00FF00
#defineBLUE0x0000FF// productinfo.h// The following define product subtypes based on colorenumclassProduct_info { RED, PURPLE, BLUE }; // syntax error
Enforcement
Flag ALL_CAPS enumerators.
I can imagine READ_ONLY and WRITE being macros in the embedded world.
The text was updated successfully, but these errors were encountered:
Seems legit, I did it like this because I come from the Java world 😅
Refactoring this will cause some breaking changes 😨, so it will require a new major version and unfortunately I just released v3.0 the other day, but I'll consider it for the next update.
Thanks for the report 👍 If you don't mind submitting a PR, you're welcome.
per the isocpp/CppCoreGuidelines.
I can imagine
READ_ONLY
andWRITE
being macros in the embedded world.The text was updated successfully, but these errors were encountered: