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 20:53:19 UTC
[jira] [Resolved] (LOGCXX-386) Build fail on Windows 7 with VS2010
[ https://issues.apache.org/jira/browse/LOGCXX-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Schöning resolved LOGCXX-386.
--------------------------------------
Resolution: Fixed
The include for iterator is already present in trunk.
> Build fail on Windows 7 with VS2010
> -----------------------------------
>
> Key: LOGCXX-386
> URL: https://issues.apache.org/jira/browse/LOGCXX-386
> Project: Log4cxx
> Issue Type: Bug
> Affects Versions: 0.10.0
> Environment: os: Windows 7 32bit
> compiler: VS 2010
> ant: 1.8.0
> Reporter: Jae Seong, Park
> Assignee: Curt Arnold
>
> Hello.
> I'm trying to build log4cxx 0.10.0.
> Build command:
> ant -Dlib.type=static -Dapr.lib.type=static -Daprutil.lib.type=static -Denable-shared=no
> Build error message:
> [cc] stringhelper.cpp
> [cc] e:\work\apr\apache-log4cxx-0.10.0_1\src\main\cpp\stringhelper.cpp(64) : error C2039: 'insert_iterator' : is not a member of 'std'
> [cc] e:\work\apr\apache-log4cxx-0.10.0_1\src\main\cpp\stringhelper.cpp(64) : error C2065: 'insert_iterator' : undeclared identifier
> [cc] e:\work\apr\apache-log4cxx-0.10.0_1\src\main\cpp\stringhelper.cpp(64) : error C2275: 'log4cxx::LogString' : illegal use of this type as an expression
> My solution is
> "#include <iterator>" added in the "stringhelper.cpp".
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)