XbeeWifi library errors

Hi i am working on a xbee s6B project where i want to send a HTTP request to stressknap.dk/input.php?id=1
I dont need to get anything returned to the arduino.

I tried out a library: GitHub - cjbearman/xbee-wifi-spi-arduino: Arduino library to support Xbee Wifi modules, using SPI communication but i seem to get alot of errors from the compiler and i cant figure out what is wrong.
Right now i am just compiling an example project: “Network_Scan” to test if the library works.

network_scan.ino

/*
 * File                 network_scan.ino
 *
 * Synopsis             Simple example sketch to demonstrate network scan
 *
 * Author               Chris Bearman
 *
 * Version              2.0
 */
#include <XbeeWifi.h>

// These are the pins that we are using to connect to the Xbee
#define XBEE_RESET 20
#define XBEE_ATN 2
#define XBEE_SELECT SS
#define XBEE_DOUT 23

// XBee object
XbeeWifi xbee;

// Receive and output scan data
void inbound_scan(uint8_t encryption_mode, int rssi, char *ssid)
{
  Serial.print(F("Scan Information, SSID="));
  Serial.print(ssid);
  Serial.print(F(", RSSI=-"));
  Serial.print(rssi, DEC);
  Serial.print(F("dB, Security="));
  switch(encryption_mode) {
    case XBEE_SEC_ENCTYPE_NONE  :  Serial.println(F("none")); break;
    case XBEE_SEC_ENCTYPE_WEP   :  Serial.println(F("wep")); break;
    case XBEE_SEC_ENCTYPE_WPA   :  Serial.println(F("wpa")); break;
    case XBEE_SEC_ENCTYPE_WPA2  :  Serial.println(F("wpa2")); break;
    default                     :  Serial.println(F("Unknown")); break;
  }
}

// Keep track of 10 second intervals at which point we'll initiate scans
unsigned long next_scan;

// Setup routine
void setup()
{
  // Serial at 57600
  Serial.begin(57600);
  
  // Initialize the xbee
  bool result = xbee.init(XBEE_SELECT, XBEE_ATN, XBEE_RESET, XBEE_DOUT);
  
  if (!result) {
    // Something failed
    Serial.println(F("XBee Init Failed"));
    while (true) { /* Loop forever - game over */}
  } else {
    // Register for incoming scan data
  xbee.register_scan_callback(inbound_scan);
    
    Serial.println("XBee found and configured");
  }  
  
  next_scan = millis();
  
}

// Main run loop
void loop()
{
  // Initiate a scan every ten seconds
  if (millis() >= next_scan) {
    if (xbee.initiateScan()) {
      Serial.println(F("Scan initiated"));
    } else {
      Serial.println(F("Failed to initiate scan"));
    }
    next_scan = millis() + 10000;
  }
  
  // Process the xbee
  xbee.process();
}

Errors

Arduino: 1.6.3 (Windows 8.1), Board: "Arduino Uno"

In file included from C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/XbeeWifi.h:61:0,

                 from network_scan.ino:10:

network_scan.ino: In function 'void inbound_scan(uint8_t, int, char*)':

C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/xbee_atmega.h:80:65: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers

 #define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

                                                                 ^

network_scan.ino:24:16: note: in expansion of macro 'F'

C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/xbee_atmega.h:80:65: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers

 #define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

                                                                 ^

network_scan.ino:26:16: note: in expansion of macro 'F'

C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/xbee_atmega.h:80:65: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers

 #define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

                                                                 ^

network_scan.ino:28:16: note: in expansion of macro 'F'

C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/xbee_atmega.h:80:65: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers

 #define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

                                                                 ^

network_scan.ino:30:51: note: in expansion of macro 'F'

C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/xbee_atmega.h:80:65: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers

 #define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

                                                                 ^

network_scan.ino:31:51: note: in expansion of macro 'F'

C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/xbee_atmega.h:80:65: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers

 #define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

                                                                 ^

network_scan.ino:32:51: note: in expansion of macro 'F'

C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/xbee_atmega.h:80:65: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers

 #define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

                                                                 ^

network_scan.ino:33:51: note: in expansion of macro 'F'

C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/xbee_atmega.h:80:65: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers

 #define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

                                                                 ^

network_scan.ino:34:51: note: in expansion of macro 'F'

network_scan.ino: In function 'void setup()':

C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/xbee_atmega.h:80:65: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers

 #define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

                                                                 ^

network_scan.ino:52:20: note: in expansion of macro 'F'

network_scan.ino: In function 'void loop()':

C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/xbee_atmega.h:80:65: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers

 #define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

                                                                 ^

network_scan.ino:71:22: note: in expansion of macro 'F'

C:\Users\Frederik\Documents\Arduino\libraries\XbeeWifi/xbee_atmega.h:80:65: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers

 #define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

                                                                 ^

network_scan.ino:73:22: note: in expansion of macro 'F'

Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

The F() macro is defined in WString.h:

class __FlashStringHelper;
#define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))

There is NO reason for xbee_atmega.h to be (improperly) redefining F():

class __FlashStringHelper;
#define F(str) reinterpret_cast<__FlashStringHelper *>(PSTR(str))

Register a complaint on the site you (improperly) linked to. Meanwhile, just delete those two lines.