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 "Joseph Southwell (JIRA)" <lo...@logging.apache.org> on 2014/01/07 22:48:50 UTC

[jira] [Commented] (LOGCXX-417) Missing #include of breaks compilation on mac os 10.9

    [ https://issues.apache.org/jira/browse/LOGCXX-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864720#comment-13864720 ] 

Joseph Southwell commented on LOGCXX-417:
-----------------------------------------

I just tried this on 10.8.5 with Xcode 5.0.2 and did not see the problem. I will update 10.9 tonight and see if it happens to me. Meanwhile, I have a couple of questions 

1. What version of Xcode were you using. What is the output of cc --version on your system?

2. It looks to me like atoi should come from stdlib.h which is included through the apr include files. What version of apr were you compiling with?

> Missing #include of <cstdlib> breaks compilation on mac os 10.9
> ---------------------------------------------------------------
>
>                 Key: LOGCXX-417
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-417
>             Project: Log4cxx
>          Issue Type: Bug
>    Affects Versions: 0.10.0, 0.10.1
>         Environment: Mac os 10.9
>            Reporter: Daniel Russel
>            Assignee: Joseph Southwell
>             Fix For: 0.10.0, 0.10.1
>
>
> atoi isn't defined in stringhelper.cpp



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