udp/lacewing — Issue #13: Problems with Request::Header and Request::Cookie
Author: peter01242
Created: 2012-02-23 17:05:15+00:00
State: open

I am using v0.2.6 and when I compile the following line:

Lacewing::Webserver::Request::Header* pHeader = Request.FirstHeader();

VC6 gives me these errors:

T:\Catfish\trunk\catfish\WebServer\LacewingServer.cpp(478) : error C2065: 'pHeader' : undeclared identifier
T:\Catfish\trunk\catfish\WebServer\LacewingServer.cpp(478) : error C2296: '*' : illegal, left operand has type 'const char *(__thiscall Lacewing::Webserver::Request::*)(const char *)'

I get the same for Cookie, but strangely not for Parameter or SessionItem. I cannot see anything odd in the header file and the structure of the Header and Cookie structs is the same as the Parameter and SessionItem structs.

Any ideas what is happening?

Thanks in advance