We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db48532 commit 781127eCopy full SHA for 781127e
extras/test/include/util/String.h
@@ -36,8 +36,9 @@ namespace arduino {
36
// -felide-constructors
37
// -std=c++0x
38
39
-class __FlashStringHelper;
40
-#define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
+#define PSTR(str) (str)
+typedef void __FlashStringHelper;
41
+#define F(string_literal) (reinterpret_cast<const void *>(PSTR(string_literal)))
42
43
// An inherited class for holding the result of a concatenation. These
44
// result objects are assumed to be writable by subsequent concatenations.
0 commit comments