Hi, i'm here again
I try to compile curlpp under linux (fedora core 1). I launch
# ./configure
and then
# make
the compiler shows this errors:
Form.cpp:57: error: prototype for `curl_httppost*
cURLpp::curl_httppost::cHttpPost() const' does not match any in class `
cURLpp::curl_httppost'
Form.hpp:60: error: candidate is: cURLpp::curl_httppost*
cURLpp::curl_httppost::cHttpPost() const
Form.cpp:57: error: `curl_httppost* cURLpp::curl_httppost::cHttpPost()
const'
and `cURLpp::curl_httppost* cURLpp::curl_httppost::cHttpPost() const'
cannot
be overloaded
Form.cpp: In member function `curl_httppost*
cURLpp::curl_httppost::cHttpPost()
const':
Form.cpp:58: error: cannot convert `cURLpp::curl_httppost* const' to `
curl_httppost*' in return
Form.cpp: In member function `void cURLpp::curl_httppost::clear()':
Form.cpp:65: error: cannot convert `cURLpp::curl_httppost*' to
`curl_httppost*'
for argument `1' to `void curl_formfree(curl_httppost*)'
Form.cpp: In member function `virtual void
cURLpp::FormParts::File::add(cURLpp::curl_httppost**,
cURLpp::curl_httppost**)':
Form.cpp:135: error: cannot convert `cURLpp::curl_httppost**' to `
curl_httppost**' for argument `1' to `CURLFORMcode
curl_formadd(curl_httppost**, curl_httppost**, ...)'
Form.cpp:146: error: cannot convert `cURLpp::curl_httppost**' to `
curl_httppost**' for argument `1' to `CURLFORMcode
curl_formadd(curl_httppost**, curl_httppost**, ...)'
Form.cpp: In member function `virtual void
cURLpp::FormParts::Content::add(cURLpp::curl_httppost**,
cURLpp::curl_httppost**)':
Form.cpp:200: error: cannot convert `cURLpp::curl_httppost**' to `
curl_httppost**' for argument `1' to `CURLFORMcode
curl_formadd(curl_httppost**, curl_httppost**, ...)'
Form.cpp:211: error: cannot convert `cURLpp::curl_httppost**' to `
curl_httppost**' for argument `1' to `CURLFORMcode
curl_formadd(curl_httppost**, curl_httppost**, ...)'
make[2]: *** [Form.lo] Error 1
the version of g++ is 3.3.2
_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2005-11-09