Browse Source

Back out the "workaround" for PSTR() warnings; it doesn't.


			
			
				master
			
			
		
DrZiplok 15 years ago
parent
commit
c473af0082
  1. 4
      libraries/FastSerial/vprintf.cpp

4
libraries/FastSerial/vprintf.cpp

@ -72,10 +72,6 @@ extern "C" {
}) })
*/ */
// Workaround for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34734
#undef PSTR
#define PSTR(s) (__extension__({static prog_char __c[] = (s); &__c[0];}))
#define FL_ZFILL 0x01 #define FL_ZFILL 0x01
#define FL_PLUS 0x02 #define FL_PLUS 0x02
#define FL_SPACE 0x04 #define FL_SPACE 0x04

Loading…
Cancel
Save