This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/81073] [5/6/7/8 Regression] link failure as C++ misses to instanciate some objects


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81073

--- Comment #11 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
...oops, I missed the PROGMEM in PSTR definition.  Should read:

// A string in flash
#define PSTR(str)                                       \
  (__extension__({                                      \
      static const char __c[] PROGMEM  = (str);         \
      &__c[0];                                          \
    }))


but still no error.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]