FastLED 3.9.15
Loading...
Searching...
No Matches

◆ FL_WARN_NE

#define FL_WARN_NE ( lhs,
rhs )
Value:
do { \
if (!((lhs) != (rhs))) { \
fl::sstream _fl_warn_ss; \
_fl_warn_ss << "Warning: " << #lhs << " != " << #rhs \
<< " failed: both equal " << (lhs); \
fl::test::outputMessage(_fl_warn_ss.str().c_str(), __FILE__, __LINE__); \
} \
} while (0)
const char * c_str() const FL_NOEXCEPT
string str() const FL_NOEXCEPT
Definition strstream.h:43

Definition at line 907 of file fltest.h.

907#define FL_WARN_NE(lhs, rhs) \
908 do { \
909 if (!((lhs) != (rhs))) { \
910 fl::sstream _fl_warn_ss; \
911 _fl_warn_ss << "Warning: " << #lhs << " != " << #rhs \
912 << " failed: both equal " << (lhs); \
913 fl::test::outputMessage(_fl_warn_ss.str().c_str(), __FILE__, __LINE__); \
914 } \
915 } while (0)