Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

CategoryStream::operator<<

Help
Paul Dugas
2010-02-03
2013-05-20
  • Paul Dugas
    Paul Dugas
    2010-02-03

    I'm getting the message below in a simple hello-world app.  Anybody know why  I'm not getting the templated operator<<?

    Paul

    app.cc:39: error: no match for operator<< in log4cpp::Category::operator<<(300).log4cpp::CategoryStream::operator<< [with T = char [18]](((const char (&)[18])"App::run() failed")) << std::endl
    /usr/include/log4cpp/CategoryStream.hh:137: note: candidates are: log4cpp::CategoryStream& log4cpp::CategoryStream::operator<<(log4cpp::CategoryStream& (*)(log4cpp::CategoryStream&))