WiFlyHQ - Unable to compile webserver example

Hi All,
I'm just starting out on my Arduino journey and have a RN-XV bee on a Mega 256. I am trying to use the WiFlyHQ library to set it up as a web server so I can send and receive data to and from the arduino.

I am trying to use httpserver.ino to learn how it should hang together but when compiling I get the following error:

In file included from httpserver.ino:28:
C:\Program Files (x86)\Arduino\libraries\WiFlyHQ/WiFlyHQ.h:78: error: conflicting declaration 'typedef const char prog_char'
c:/program files (x86)/arduino/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:212: error: 'prog_char' has a previous declaration as 'typedef char prog_char'

I have not changed the code at all, just compiling as it is downloaded from github. GitHub - harlequin-tech/WiFlyHQ: WiFly RN-XV Arduino Library

All help greatly appreciated.

All help greatly appreciated.

Delete the conflicting declaration, from the WiFlyHQ library.

Dear,

To resolve the problem, edit the "WiFlyHQ.h" file and comment out the line 78 (typedef const char PROGMEM prog_char;)!

/ / typedef const char PROGMEM prog_char;

:astonished:

Marcio Kleber Torres

To resolve the problem, edit the "WiFlyHQ.h" file and comment out the line 78 (typedef const char PROGMEM prog_char;)!

/ / typedef const char PROGMEM prog_char;

An actually helpful post!