'prog_char' does not name a type error

saximus:
I would guess the file "pgmspace.h" defines "prog_char" which isn't a data type that Arduino knows about.

It is a datatype whose days are numbered...