diff options
author | ChristofKaufmann <christofkaufmann.dev@gmail.com> | 2018-09-01 02:04:40 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2018-09-01 02:04:40 +0300 |
commit | 8b3eda8d4591caea2d0e29a22ab6ee3d690de262 (patch) | |
tree | c379a6bf320097d834b277e95549300f74f36f45 | |
parent | 83fdc12ebda27958c5a5e554cc9e76f42a3b13bd (diff) |
Remove str and xstr macros (#644)
`str` macro conflicts with any function or method that has the same
name ignoring namespaces and class names. Most noticeably it conflicts
with `std::basic_stringstream::str()`. Also there is no usage of the
`str` macro in the library.
-rw-r--r-- | FastLED.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -4,9 +4,6 @@ ///@file FastLED.h /// central include file for FastLED, defines the CFastLED class/object -#define xstr(s) str(s) -#define str(s) #s - #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) #define FASTLED_HAS_PRAGMA_MESSAGE #endif |