From c473af0082f9a66e0bc404bc60660cfabab508ba Mon Sep 17 00:00:00 2001 From: DrZiplok Date: Wed, 24 Nov 2010 08:07:04 +0000 Subject: [PATCH] Back out the "workaround" for PSTR() warnings; it doesn't. git-svn-id: https://arducopter.googlecode.com/svn/trunk@913 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/FastSerial/vprintf.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/FastSerial/vprintf.cpp b/libraries/FastSerial/vprintf.cpp index ae6f783960..e52f972bfe 100644 --- a/libraries/FastSerial/vprintf.cpp +++ b/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_PLUS 0x02 #define FL_SPACE 0x04