You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by "Thorsten Schöning (JIRA)" <lo...@logging.apache.org> on 2014/02/09 19:50:20 UTC

[jira] [Resolved] (LOGCXX-336) Test compilation fails: Overloading ambiguity

     [ https://issues.apache.org/jira/browse/LOGCXX-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Schöning resolved LOGCXX-336.
--------------------------------------

    Resolution: Fixed

I applied this patch to trunk.

> Test compilation fails: Overloading ambiguity
> ---------------------------------------------
>
>                 Key: LOGCXX-336
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-336
>             Project: Log4cxx
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.10.0
>         Environment: SunOS 5.10 i386, sun studio 11, Sun C++ 5.8 Patch 121018-11 2007/05/02, compiled and linked with libCstd
>            Reporter: Cosmin Cremarenco
>            Assignee: Curt Arnold
>             Fix For: 0.10.0
>
>         Attachments: patch-log4cxx-0.10.0-sunstudio11-libcstd
>
>
> Compilation fails in streamtestcase.cpp:
> "streamtestcase.cpp", line 227: Error: Overloading ambiguity between "std::operator<<(std::ostream &, const char*)" and "log4cxx::logstream::operator<<<char[15]>(const char(&)[15])".
> "streamtestcase.cpp", line 227: Error: The operation "std::ostream<<log4cxx::spi::LocationInfo" is illegal.
> "streamtestcase.cpp", line 233: Error: Overloading ambiguity between "std::operator<<(std::ostream &, const char*)" and "log4cxx::logstream::operator<<<char[15]>(const char(&)[15])".
> "streamtestcase.cpp", line 233: Error: The operation "std::ostream<<log4cxx::spi::LocationInfo" is illegal.
> Please see attached tentative patch.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)