Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristofKaufmann <christofkaufmann.dev@gmail.com>2018-09-01 02:04:40 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2018-09-01 02:04:40 +0300
commit8b3eda8d4591caea2d0e29a22ab6ee3d690de262 (patch)
treec379a6bf320097d834b277e95549300f74f36f45
parent83fdc12ebda27958c5a5e554cc9e76f42a3b13bd (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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/FastLED.h b/FastLED.h
index b0aa3faf..d63beeee 100644
--- a/FastLED.h
+++ b/FastLED.h
@@ -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