Code Monkey home page Code Monkey logo

Comments (2)

obiltschnig avatar obiltschnig commented on April 20, 2024

No time to maintain ApacheConnector anymore. Will remove it from release, unless someone steps in and takes responsibility for it.

from poco.

yegorich avatar yegorich commented on April 20, 2024

Just heads up in the case that ApacheConnector is still going to be maintained. During my CMake related tests I've encountered following compilation error (Apache 2 version: apache2-dev 2.4.25-3+deb9u3, poco version: current git/develop branch)

[ 96%] Building CXX object ApacheConnector/CMakeFiles/mod_poco.dir/src/ApacheConnector.cpp.o
/home/user/Documents/versioned/poco/ApacheConnector/src/ApacheConnector.cpp: In static member function ‘static void ApacheConnector::log(const char*, int, int, int, const char*)’:
/home/user/Documents/versioned/poco/ApacheConnector/src/ApacheConnector.cpp:157:51: warning: passing NULL to non-pointer argument 5 of ‘void ap_log_error_(const char*, int, int, int, apr_status_t, const server_rec*, const char*, ...)’ [-Wconversion-null]
ap_log_error(file, line, level, 0, NULL, 0, text);
^
/home/user/Documents/versioned/poco/ApacheConnector/src/ApacheConnector.cpp: In function ‘int ApacheConnector_handler(request_rec*)’:
/home/user/Documents/versioned/poco/ApacheConnector/src/ApacheConnector.cpp:196:37: error: invalid new-expression of abstract class type ‘ApacheServerRequest’
r->connection->client_addr->port));
^
In file included from /home/user/Documents/versioned/poco/ApacheConnector/include/ApacheRequestHandlerFactory.h:15:0,
from /home/user/Documents/versioned/poco/ApacheConnector/include/ApacheApplication.h:15,
from /home/user/Documents/versioned/poco/ApacheConnector/src/ApacheConnector.cpp:12:
/home/user/Documents/versioned/poco/ApacheConnector/include/ApacheServerRequest.h:24:7: note: because the following virtual functions are pure within ‘ApacheServerRequest’:
class ApacheServerRequest: public Poco::Net::HTTPServerRequest
^~~~~~~~~~~~~~~~~~~
In file included from /home/user/Documents/versioned/poco/ApacheConnector/include/ApacheServerRequest.h:17:0,
from /home/user/Documents/versioned/poco/ApacheConnector/include/ApacheRequestHandlerFactory.h:15,
from /home/user/Documents/versioned/poco/ApacheConnector/include/ApacheApplication.h:15,
from /home/user/Documents/versioned/poco/ApacheConnector/src/ApacheConnector.cpp:12:
/usr/local/include/Poco/Net/HTTPServerRequest.h:69:15: note: virtual bool Poco::Net::HTTPServerRequest::secure() const
virtual bool secure() const = 0;
^~~~~~
ApacheConnector/CMakeFiles/mod_poco.dir/build.make:110: recipe for target 'ApacheConnector/CMakeFiles/mod_poco.dir/src/ApacheConnector.cpp.o' failed

from poco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.