Re: [avr-libc-dev] Printf %S printing from PROGMEM not functional, compiler error

2018-03-13 Thread Joerg Wunsch
As Joerg Wunsch wrote: > > But I get the following compiler error: > > error: format '%S' expects argument of type 'wchar_t*', but argument 2 > > has type 'const char*' [-Werror=format=] > > printf("%S:%u\n", name, i); > > Then do as suggested, and turn off compiler warnings (and -Werror) for > t

Re: [avr-libc-dev] Printf %S printing from PROGMEM not functional, compiler error

2018-03-10 Thread Joerg Wunsch
As avr-libc-...@nicohood.de wrote: > But I get the following compiler error: > error: format '%S' expects argument of type 'wchar_t*', but argument 2 > has type 'const char*' [-Werror=format=] > printf("%S:%u\n", name, i); Then do as suggested, and turn off compiler warnings (and -Werror) for thi