Skip to content

Commit

Permalink
Remove str and xstr macros (#644)
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
ChristofKaufmann authored and focalintent committed Aug 31, 2018
1 parent 83fdc12 commit 8b3eda8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions FastLED.h
Expand Up @@ -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
Expand Down

0 comments on commit 8b3eda8

Please sign in to comment.