[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug c/60654] format warnings don't work with PROGMEM/PSTR
From:       "gjl at gcc dot gnu.org" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2014-03-31 16:47:21
Message-ID: bug-60654-4-XRJmcd4wDX () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60654

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gjl at gcc dot gnu.org
           Severity|normal                      |enhancement

--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
External links are not helpful, a bug report should be self contained, c.f. the
bug reporting instructions at

http://gcc.gnu.org/bugs/#report




The usual definitions for the above macros are:

#define PROGMEM __attribute__((__progmem__))

#define PGM_P const char *
#define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s);
&__c[0];}))
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic