Browse files

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.
  • Loading branch information...
ChristofKaufmann authored and focalintent committed Aug 31, 2018
1 parent 83fdc12 commit 8b3eda8d4591caea2d0e29a22ab6ee3d690de262
Showing with 0 additions and 3 deletions.
  1. +0 −3 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)

0 comments on commit 8b3eda8

Please sign in to comment.