darrengarvey / cgi

CGI and FastCGI C++ Library
http://cgi.sf.net
51 stars 32 forks source link

"boost/cgi/basic_request_fwd.hpp" not found #15

Open takahashi-daisuke opened 7 years ago

takahashi-daisuke commented 7 years ago

Hi.

When I used boost/cgi/fcgi/request_fwd.hpp by clang++ 4.0.0 with boost 1.63.0, I encountered next error.

/usr/local/include/boost/cgi/fcgi/request_fwd.hpp:12:10: fatal error: 'boost/cgi/basic_request_fwd.hpp' file not found
#include "boost/cgi/basic_request_fwd.hpp"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Did you move path to "boost/cgi/fwd/basic_request_fwd.hpp"? But template argument of basic_request is different.


/usr/local/include/boost/cgi/fcgi/request_fwd.hpp:21:13: error: too many template arguments for class template 'basic_request'
    typedef basic_request<fcgi_request_service<common::tags::fcgi>, service_t> request;
            ^                                                       ~~~~~~~~~~
/usr/local/include/boost/cgi/basic_request.hpp:61:9: note: template is declared here
  class basic_request

I guess template argument to next.

typedef basic_request<common::tags::fcgi> request;

Thanks.